What is DeFi (decentralized finance)?
- DeFi means financial apps built from smart contracts that anyone with a wallet can use.
- Common uses: swapping tokens, lending and borrowing against collateral, and earning fees by providing liquidity.
- It's open and transparent, but there's no deposit insurance or customer support.
- Main risks: contract bugs and hacks, liquidations, impermanent loss, scams and unsustainable yields.
The idea
Traditional finance relies on banks and brokers to hold money and keep records. DeFi replaces those intermediaries with smart contracts on public blockchains. You connect a self-custody wallet and interact with the contracts directly, at any hour, from anywhere.
What people do with it
- Swapping tokens on decentralized exchanges (see CEX vs DEX).
- Lending and borrowing: deposit assets to earn interest, or borrow against collateral. Loans are usually over-collateralized: you lock more value than you borrow.
- Providing liquidity: supply pairs of tokens to a trading pool and earn a share of trading fees.
- Stablecoins and staking built on top of these pieces.
Where the yield comes from
Real yield comes from borrowers paying interest and traders paying fees. When returns are far higher than that could explain, they're usually funded by newly printed tokens, leverage, or by later depositors, and they tend not to last.
Risks
- Smart contract risk: bugs and exploits have drained billions from DeFi protocols over the years.
- Liquidation: if your collateral's value falls, it can be sold automatically to repay your loan, often with a penalty.
- Impermanent loss: liquidity providers can end up with less value than if they'd simply held the tokens.
- Bridges: moving tokens between chains through bridges has been one of the most hacked areas of crypto.
- Scams and approvals: fake front-ends and malicious approvals. See rug pulls.
Frequently asked questions
Is DeFi legal?
It depends on where you live and what you're doing. Regulators in many countries are still deciding how rules apply.
Do I need to verify my identity?
Most DeFi apps don't ask for ID because you connect a wallet, but some front-ends block certain regions.
What is TVL?
Total value locked: the value of assets deposited in a protocol's contracts. It shows usage, not safety.
Sources and further reading
This guide explains how things work; it isn't financial, legal or tax advice. Crypto is volatile and you can lose money.