Key takeaways
- DeFi, short for decentralized finance, is financial services run by smart contracts on public blockchains instead of by companies.
- The main building blocks are stablecoins, lending markets and decentralized exchanges. About $89 billion sits in DeFi apps, according to DefiLlama.
- Yield in DeFi comes from real activity such as borrowers paying interest and traders paying fees, and sometimes from token rewards that can disappear.
- There is no customer support and usually no way to reverse a mistake. Smart contract bugs, liquidations and stablecoin depegs are real risks.
DeFi explained in one line: it is banking-style services, lending, borrowing, trading and earning interest, where the bank is replaced by open-source code that anyone can use with a crypto wallet. There is no account opening, no opening hours and no one to approve you. That is the appeal and the risk at the same time.
This guide covers how the main pieces work, where returns come from, and what to understand before you put money in. It assumes you know what a wallet and a blockchain are. If not, read How Blockchains Work first.
What makes it decentralized
A DeFi app is a set of smart contracts, programs deployed on a blockchain such as Ethereum. Once deployed, the contract follows its code for anyone who interacts with it. You connect your own wallet, approve a transaction, and the contract moves tokens according to its rules. Nobody holds your funds in a company account in between.
- Permissionless: anyone with a wallet can use it, from anywhere.
- Transparent: every deposit, loan and trade is visible on-chain.
- Composable: apps plug into each other like building blocks. A token you get from one protocol can be used as collateral in another.
- Self-custodial: you sign every action yourself, which also means every mistake is yours.
In practice, “decentralized” is a spectrum. Many protocols still have admin keys, governance tokens controlled by a few large holders, or front-end websites run by a company. Always check who can change the rules.
The three building blocks
1. Stablecoins
Most DeFi activity runs on stablecoins such as USDC and USDT, tokens pegged to the US dollar. They give traders and lenders a stable unit to borrow, lend and price things in. Our guide What Are Stablecoins? explains how they hold their peg.
2. Lending markets
Lending protocols such as Aave, Morpho and Spark pool deposits from lenders and let borrowers take loans against collateral. Lending is the biggest DeFi category, with about $52 billion deposited, according to DefiLlama. Aave’s latest version alone holds about $16.6 billion.
There are no credit checks, so loans are overcollateralized: you must deposit more value than you borrow. If your collateral falls in value and the loan becomes too risky, anyone can repay part of your debt and take some of your collateral at a discount. That is a liquidation, and it happens automatically.
3. Decentralized exchanges
A decentralized exchange, or DEX, lets you swap one token for another straight from your wallet. Most DEXs, such as Uniswap and Aerodrome, do not match buyers and sellers like a stock exchange. Instead, users deposit pairs of tokens into liquidity pools, and a formula sets the price based on how much of each token is in the pool. Traders pay a small fee on every swap, which goes to the people who supplied the liquidity. We will cover how pools price trades, and the risk called impermanent loss, in a separate advanced guide.
Where DeFi yield comes from
If something pays you a return, someone else is paying for it. In DeFi the main sources are:
| Source | Who pays | How durable |
|---|---|---|
| Lending interest | Borrowers, often traders using leverage | Rises and falls with demand to borrow |
| Trading fees | Traders swapping on DEXs | Depends on volume and volatility |
| Staking rewards | The network, for securing a proof of stake chain | Fairly steady, set by protocol rules |
| Token incentives | The protocol, paying in its own token | Often temporary and can lose value fast |
Very high yields usually come from the last row, or from extra risk such as leverage or untested contracts. A useful rule: if you cannot explain where a yield comes from, you are probably the source.
How to use DeFi, step by step
- Set up a self-custody wallet and back up its seed phrase properly.
- Fund it with a small amount, including the network’s native token to pay transaction fees, such as ETH on Ethereum and its layer 2 networks.
- Go to the protocol’s official website. Bookmark it, because fake sites that copy popular apps are common.
- Connect your wallet and read each approval request carefully before signing. Approving a contract to spend “unlimited” tokens is convenient but risky.
- Start small, watch how positions behave, and keep track of liquidation levels if you borrow.
- Revoke old token approvals you no longer need, using a reputable approval checker.
The main risks
- Smart contract bugs. Code can contain flaws that attackers exploit. Audits reduce this risk but do not remove it.
- Liquidation. Borrowing against volatile collateral can wipe out your position in a sharp drop.
- Stablecoin depegs. If a stablecoin used in a pool loses its peg, the pool absorbs the loss.
- Bridges. Moving tokens between chains through bridges adds another layer that has been hacked many times.
- Governance and admin keys. Whoever controls upgrades can change the rules, honestly or not.
- You. Wrong addresses, phishing sites and malicious approvals cause many losses. There is no help desk to call.
We cover these in depth in our upcoming guide to DeFi risks. For a real example of how fast things can go wrong, read about the recent Initia exploit.
Is DeFi worth using?
For many people, DeFi’s value is access: borrowing against crypto without selling it, earning interest on stablecoins, or trading tokens that are not listed anywhere else, at any hour, with no paperwork. For others the risks outweigh the benefits, especially compared with regulated products. Neither view is wrong. What matters is understanding where the return comes from and what could go wrong before the money goes in.
You might also like
Sources: DefiLlama: DeFi TVL by chain and category, ethereum.org: Decentralized finance, Aave documentation, Uniswap documentation





