DeFi stands for Decentralised Finance. It is a collective term for financial applications built on blockchain networks, primarily Ethereum, that replicate services traditionally provided by banks, brokerages and exchanges, but using smart contracts instead of centralised intermediaries.
How DeFi works
Instead of a bank holding your deposit and lending it out, a DeFi lending protocol uses a smart contract. You deposit cryptocurrency into a liquidity pool, and borrowers take loans from that pool by providing collateral, typically more than the borrowed amount. Interest rates are set algorithmically based on supply and demand. Everything runs on code, on-chain, visible to anyone.
Key DeFi applications
- Lending and borrowing: Aave and Compound allow users to earn interest on deposits and borrow against crypto collateral.
- [Decentralised exchanges](/glossary/decentralized-exchange): Uniswap and SushiSwap let you trade tokens without an order book, using automated market makers.
- [Yield farming](/glossary/yield-farming): providing liquidity to protocols in exchange for rewards, often paid in the protocol's own token.
- [Stablecoins](/glossary/stablecoin): DAI is created through a DeFi protocol, MakerDAO, using crypto collateral.
- Insurance: DeFi protocols like Nexus Mutual offer cover against smart contract failures.
DeFi vs traditional finance
| Feature | Traditional finance | DeFi |
|---|---|---|
| Intermediary | Bank, broker | Smart contract |
| Access | KYC, account opening | A crypto wallet |
| Operating hours | Business hours | 24/7, 365 days |
| Transparency | Limited | Fully open-source and auditable |
| Recourse | Legal system, deposit insurance | Code-based, limited recourse |
DeFi and India
Indian users can access DeFi protocols using a crypto wallet, though most mainstream Indian exchanges focus on centralised trading. There is no DeFi-specific regulation in India. Gains earned through DeFi activities, whether from lending interest, liquidity provision or token appreciation, are taxable at 30% under Section 115BBH as Virtual Digital Assets.
Risks
- Smart contract bugs: a vulnerability in the code can lead to loss of all deposited funds.
- Impermanent loss: liquidity providers can lose value compared to simply holding the tokens.
- Rug pulls: anonymous developers can drain liquidity pools and disappear.
- Complexity: DeFi protocols interact with each other, and a failure in one can cascade through connected protocols.