DeFi (Decentralized Finance)
DeFi (Decentralized Finance)
Quick Definition
Decentralized Finance (DeFi) refers to a collection of financial applications and protocols built on public blockchains — primarily Ethereum — that replicate traditional financial services (lending, borrowing, trading, insurance, derivatives) without relying on banks, brokerages, or other centralized intermediaries. Smart contracts replace human institutions as the mechanism for executing financial agreements.
What It Means
Traditional finance (TradFi) requires intermediaries at every step: banks hold deposits, brokerages execute trades, clearinghouses settle transactions. Each intermediary extracts fees, requires identity verification, and can restrict access based on geography, credit history, or account size.
DeFi replaces these intermediaries with open-source smart contracts that:
- Execute automatically when conditions are met
- Are transparent — anyone can read the code
- Are permissionless — anyone with a wallet and internet access can use them
- Run 24/7/365 without downtime or business hours
A DeFi lending protocol does not check your credit score. It requires collateral. If you post $150 in ETH as collateral, you can borrow $100 in stablecoins — no bank account, no credit application, no waiting period.
Core DeFi Categories
Decentralized Exchanges (DEXs)
Trade tokens directly from your wallet without a centralized exchange:
| Protocol | Type | Daily Volume (peak 2024) |
|---|---|---|
| Uniswap | AMM (Automated Market Maker) | $1-3B |
| Curve Finance | AMM (optimized for stablecoins) | $500M-1B |
| dYdX | Order book (on L2) | $200-500M |
| Balancer | Multi-asset AMM pools | $100-300M |
How an AMM works: Instead of a traditional order book (buyers and sellers matching), AMMs use liquidity pools — smart contracts holding two tokens in a ratio. The price is determined by the ratio of tokens in the pool using a mathematical formula (e.g., x × y = k for Uniswap v2).
Lending and Borrowing Protocols
| Protocol | Total Value Locked (2024) | Key Feature |
|---|---|---|
| Aave | $10B+ | Multi-chain; flash loans |
| Compound | $2B+ | Pioneered algorithmic interest rates |
| MakerDAO | $8B+ | Issues DAI stablecoin; collateralized debt positions |
| Spark | $3B+ | MakerDAO's lending arm |
DeFi lending mechanics:
- Lenders deposit assets into a smart contract pool
- Borrowers post collateral (typically 130-200% of borrowed value)
- Interest rates adjust algorithmically based on supply and demand
- If collateral falls below the liquidation threshold, the protocol automatically liquidates the position
Yield Farming / Liquidity Mining
Providing liquidity to DeFi protocols in exchange for rewards:
- Deposit tokens in a liquidity pool
- Receive LP tokens representing your share
- LP tokens can be staked to earn additional protocol tokens
- APYs ranging from a few percent to thousands of percent (with corresponding risk)
Stablecoins in DeFi
Stablecoins (USDC, USDT, DAI) are the lifeblood of DeFi — allowing users to participate without cryptocurrency price exposure:
| Stablecoin | Type | Backing | Issuer |
|---|---|---|---|
| USDC | Fiat-backed | USD in bank accounts | Circle |
| USDT (Tether) | Fiat-backed | USD + other assets | Tether |
| DAI | Crypto-collateralized | ETH and other crypto | MakerDAO (decentralized) |
| FRAX | Algorithmic/hybrid | Partial crypto backing | Frax Protocol |
DeFi Total Value Locked (TVL)
TVL measures the total assets deposited in DeFi protocols:
| Period | DeFi TVL | Context |
|---|---|---|
| Jan 2020 | $700M | Early stage |
| Jan 2021 | $20B | DeFi Summer explosion |
| Nov 2021 (peak) | $180B | Bull market peak |
| Dec 2022 (trough) | $40B | Crypto winter + Terra collapse |
| 2024 | $80-100B | Recovery; L2 growth |
DeFi Risks
| Risk | Description | Notable Example |
|---|---|---|
| Smart contract bugs | Code vulnerability exploited to drain funds | Poly Network hack ($611M, later returned) |
| Algorithmic stablecoin collapse | De-peg event destroys value rapidly | Terra/LUNA collapse ($40B+ wiped out, May 2022) |
| Liquidity crises | Sudden mass withdrawals drain pools | Various bank-run events |
| Governance attacks | Malicious proposals pass through token voting | Beanstalk exploit ($182M) |
| Oracle manipulation | Price feed manipulation triggers false liquidations | Flash loan attacks |
| Regulatory risk | DeFi faces regulatory uncertainty globally | CFTC, SEC enforcement actions |
| User error | Sending to wrong address; losing private keys | Permanent loss — no chargebacks |
DeFi vs. CeFi (Centralized Finance)
| Feature | DeFi | CeFi (Coinbase, Binance) |
|---|---|---|
| Custody | Self-custody (your keys) | Custodian holds your assets |
| KYC/AML | None | Required |
| Access | Permissionless; global | Geographic restrictions; ID required |
| Counterparty risk | Smart contract risk | Exchange solvency risk (see FTX) |
| Interest rates | Algorithmically set | Platform-determined |
| Recovery if locked out | None (lost keys = lost funds) | Account recovery options |
| Transparency | Full (on-chain) | Limited |
The FTX lesson: CeFi exchanges (FTX, Celsius, BlockFi) held customer assets and went bankrupt in 2022-2023. DeFi users who self-custodied were unaffected by these collapses — their assets remained on-chain, untouched.
Flash Loans: DeFi's Unique Innovation
Flash loans are uncollateralized loans that must be borrowed and repaid within a single blockchain transaction (one block). They are only possible because of DeFi's atomic execution model:
Use cases:
- Arbitrage between DEX prices
- Collateral swaps (change your collateral type without closing position)
- Self-liquidation (liquidate your own position before someone else does)
Misuse: Flash loans have been used to attack protocols by manipulating prices within a single transaction. This is a DeFi-specific attack vector that TradFi cannot replicate.
Key Points to Remember
- DeFi replaces financial intermediaries with smart contracts — no banks, no credit checks, no business hours
- DEXs (Uniswap, Curve) use automated market makers rather than order books to enable permissionless trading
- Overcollateralization (150-200%) is required for DeFi loans because there is no credit history or legal recourse
- TVL (Total Value Locked) measures DeFi adoption — peaked at $180B in 2021; $80-100B in 2024
- The Terra/LUNA collapse (May 2022) was DeFi's biggest crisis, destroying an algorithmic stablecoin and wiping out $40B+
- DeFi is permissionless — anyone with a crypto wallet and internet access can participate globally
Frequently Asked Questions
Q: Is DeFi safe? A: DeFi eliminates counterparty risk (no FTX-style collapse) but introduces smart contract risk. Every protocol has been audited, but audits do not guarantee no bugs. Billions have been lost to exploits. Only deposit amounts you understand the risk of potentially losing entirely.
Q: Do I need to pay taxes on DeFi income? A: Yes. The IRS treats cryptocurrency transactions as property transactions. Swapping tokens, earning yield, and receiving governance tokens are all generally taxable events in the United States. DeFi creates complex tax situations — tracking cost basis across hundreds of small transactions is challenging; tax software like CoinTracker or Koinly helps.
Q: Can I lose all my money in DeFi? A: Yes. Smart contract exploits, algorithmic stablecoin collapses, rug pulls (developers abandon projects with user funds), and impermanent loss in liquidity pools are all real risks. DeFi offers higher yields partly because it carries higher risks than traditional savings accounts.
Related Terms
Ethereum
Ethereum is the second-largest cryptocurrency and the leading smart contract platform — a programmable blockchain that powers decentralized finance (DeFi), NFTs, and thousands of decentralized applications.
Smart Contract
A smart contract is self-executing code stored on a blockchain that automatically enforces and executes the terms of an agreement when predetermined conditions are met — eliminating the need for intermediaries.
Blockchain
A blockchain is a distributed digital ledger that records transactions across a network of computers in a way that is transparent, immutable, and requires no central authority — the foundational technology underlying Bitcoin and thousands of other applications.
NFT
An NFT is a unique digital asset recorded on a blockchain that proves ownership and authenticity of a specific item — whether digital art, music, gaming items, or real-world assets — distinguishing it from interchangeable (fungible) tokens like Bitcoin.
Stablecoin
A stablecoin is a cryptocurrency designed to maintain a stable value by pegging to a reference asset like the US dollar — combining the speed and programmability of crypto with the price stability of traditional currency.
Cryptocurrency
Cryptocurrency is a digital or virtual currency secured by cryptography and typically built on decentralized blockchain technology, existing independently of any central bank or government authority.
Related Articles
Crypto as an Investment: What the Research Actually Says
Cryptocurrency is either the future of money or a speculative bubble, depending on who you ask. Here is what the data, the research, and the history actually show - without the hype or the dismissal.
Bonds Explained: Do You Actually Need Them in Your Portfolio?
Bonds are the most misunderstood major asset class. Here is what they actually are, why they behave the way they do, and whether a young investor needs them at all.
Capital Gains Tax Explained: What Happens When You Sell Investments
Every time you sell a stock, fund, property, or crypto at a profit, a tax bill can follow. Here is how capital gains tax works, what the rates are in 2026, and how to legally reduce what you owe.

Tax Loss Harvesting: A Simple Strategy Most Investors Ignore
When investments lose value, most people feel only the loss. Tax loss harvesting turns that loss into a tax benefit that can save you real money today and for years to come.
How to Use an HSA to Pay Zero Tax on Medical Expenses
A Health Savings Account is the only account in the US tax code that gives you a triple tax benefit. Here is how it works, who qualifies, and how to use it to make medical costs effectively free.

