DeFi offers lending, trading and earning through smart contracts instead of financial companies, and NFTs are unique tokens that prove ownership of a digital item, but both carry risks that traditional finance and collecting do not.
A short visual tour of this lesson.
What is DeFi?
DeFi, short for decentralized finance, is the name for financial services that run as smart contracts on a blockchain instead of through banks, brokers or exchanges. Lending, borrowing, trading, earning interest: the same activities, but with code in the middle instead of a company.
That changes a few things:
- Anyone with a wallet can use it, at any hour, from any country, without opening an account.
- The rules are public code, and every transaction is visible on the blockchain.
- There is no customer service, no deposit insurance and usually nobody to reverse a mistake.
A common way to measure DeFi's size is total value locked (TVL): the value of all crypto deposited in DeFi apps. According to DefiLlama data, it was about $95 billion at the end of September 2026.
The building blocks
You have already met several parts of DeFi in this course:
- Decentralized exchanges such as Uniswap, where tokens are swapped against liquidity pools (Lesson 9).
- Stablecoins, especially crypto-backed ones such as DAI (Lesson 6).
- Lending markets such as Aave, where users lend and borrow crypto.
- Staking and liquid staking, where users lock coins to help secure a network and receive a token that represents their stake, such as Lido's stETH.
Because all of these are open smart contracts, they can be plugged into each other. A token received from one app can be deposited straight into another. This is called composability, and people often compare DeFi apps to building blocks or "money Lego". It allows fast innovation, but it also means a failure in one block can spread to every app built on top of it.
How DeFi lending works
A DeFi lending app is a smart contract holding a pool of tokens:
- Lenders deposit tokens, for example USDC, into the pool and earn interest.
- Borrowers take tokens out of the pool, but first they must lock collateral worth more than the loan, for example ETH.
- Interest rates move automatically: when most of the pool is borrowed, rates rise to attract more lenders and discourage borrowers.
There is no credit check, because the collateral protects the lenders. If the collateral's value falls too close to the loan, the contract sells it automatically to repay the debt. This is the same liquidation you met with DAI in Lesson 6 and with leverage in Lesson 11.
Why borrow at all if you must lock more than you borrow? Usually to get cash or stablecoins without selling a coin you want to keep, or to use the borrowed money for trading.
Where does the yield come from?
DeFi apps often advertise an APY, the annual percentage yield. Before trusting any number, ask where the money comes from. There are only a few real sources:
- Borrowers' interest: lenders are paid by people who borrow.
- Trading fees: people who supply liquidity to a DEX pool earn part of each swap's fee.
- Network rewards: stakers earn new coins and fees for helping to secure a blockchain.
- Token incentives: many apps pay extra rewards in their own token to attract deposits. This yield is printed rather than earned, and it often falls quickly, along with the token's price.
When a yield is far higher than these sources could plausibly pay, the gap often means hidden risk, or that new depositors' money is paying earlier ones. A well known saying in crypto puts it bluntly: if you can't tell where the yield comes from, you are the yield. Before TerraUSD collapsed (Lesson 6), a platform called Anchor was paying close to 20% a year on UST deposits.
The risks of DeFi
- Smart contract bugs and hacks: code can be exploited. Hacks across crypto had taken more than $2.3 billion in 2026 by the third quarter, much of it from DeFi apps and bridges.
- Token approvals: to use a DeFi app, you give its contract permission to move a token from your wallet. Many apps ask for unlimited permission by default. If that contract, or a fake one you approved by mistake, is malicious, it can empty that token from your wallet later. Tools such as Revoke.cash let you see and cancel old approvals.
- Oracle problems: DeFi apps rely on price feeds. A wrong or manipulated price can trigger unfair liquidations.
- Admin keys and rug pulls: some apps can be changed or drained by their developers. Lesson 14 covers this.
- Your own mistakes: wrong network, wrong address, signing something you did not read. Nobody can undo them.
The Intermediate level covers liquidity pools, impermanent loss and wallet protection in depth.
NFTs: one of a kind tokens
An NFT, or non-fungible token, is a token where every unit is unique. One bitcoin equals any other bitcoin, but NFT number 42 in a collection is not the same as number 43. On Ethereum, NFTs usually follow the ERC-721 standard.
What do you actually own when you buy an NFT? Usually:
- a token on the blockchain, recorded under your address, with a unique ID,
- that points to a description and an image or other file, which is usually stored somewhere else, on a website or a storage network such as IPFS.
Owning the NFT proves that you own that token. It does not automatically give you the copyright to the image, and if the file it points to is removed, the token may end up pointing to nothing. Each project's terms decide what rights come with it.
NFTs are used for digital art and collectibles, items in games, event tickets, memberships and blockchain names such as ENS addresses.
The NFT boom and bust
NFTs went mainstream in 2021. On 11 March 2021 the auction house Christie's sold a digital artwork by the artist Beeple as an NFT for $69.3 million. Collections of cartoon apes and pixel portraits sold for hundreds of thousands of dollars each, and OpenSea, the largest NFT marketplace, handled about $5 billion of trades in January 2022 alone.
Then the market collapsed. By late 2022 monthly volumes were down more than 90%, and many collections lost almost all their value. In November 2025, NFT trading across all major marketplaces was about $320 million for the whole month, according to CryptoSlam.
The technology has continued in tickets, gaming and on-chain names, but the speculative boom shows how quickly an asset driven mainly by hype can lose its buyers.
Why this matters for traders Trader's angle
- DeFi activity drives demand for some coins. Busy DeFi markets mean more fees and more demand for the native coins of the chains they run on, such as ETH and SOL.
- TVL is a rough measure of confidence. TVL rising or falling over months shows whether money is flowing into on-chain apps or leaving. Part of TVL moves simply because token prices move, so it is best compared over time.
- On-chain liquidations add to sell-offs. When prices drop sharply, DeFi lending apps sell collateral automatically, adding to the pressure seen in Lesson 11.
- High advertised yields carry high risk. In crypto, unusually high yields have repeatedly come before collapses, as with TerraUSD in 2022.
Key terms
- DeFi
- Decentralized finance: financial services such as lending and trading run by smart contracts instead of companies.
- Total value locked (TVL)
- The total value of crypto deposited in DeFi apps.
- Composability
- The ability of DeFi apps to plug into each other, like building blocks.
- Collateral
- Assets locked to secure a loan, which can be sold automatically if their value falls too far.
- APY
- Annual percentage yield: the yearly return including compounding.
- Token approval
- Permission given to a smart contract to move a specific token from your wallet.
- NFT
- Non-fungible token: a unique token that represents ownership of a specific digital item.
- ERC-721
- The standard for NFTs on Ethereum.
Key takeaways
- DeFi runs lending, trading and earning as smart contracts. Its TVL was about $95 billion at the end of September 2026.
- DEXs, stablecoins, lending markets and liquid staking plug into each other, which speeds innovation but spreads failures.
- DeFi loans are backed by collateral worth more than the loan, and are liquidated automatically if it falls too far.
- Real yield comes from borrowers' interest, trading fees and network rewards. Yields far above these usually mean hidden risk.
- Hacks, unlimited token approvals, price feed problems and your own mistakes are the main DeFi risks.
- An NFT is a unique token that points to a file. NFT trading peaked around $5 billion a month on OpenSea in January 2022 and later fell more than 90%.
Test yourself
Choose an answer for each question. You will see the correct answer and a short explanation right away.
Sources
For education only. Nothing on this page is financial advice.