Savvy Nickel LogoSavvy Nickel
Ctrl+K

DeFi (Decentralized Finance)

Technology & Modern Finance
Share:

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:

ProtocolTypeDaily Volume (peak 2024)
UniswapAMM (Automated Market Maker)$1-3B
Curve FinanceAMM (optimized for stablecoins)$500M-1B
dYdXOrder book (on L2)$200-500M
BalancerMulti-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

ProtocolTotal 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:

  1. Lenders deposit assets into a smart contract pool
  2. Borrowers post collateral (typically 130-200% of borrowed value)
  3. Interest rates adjust algorithmically based on supply and demand
  4. 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:

StablecoinTypeBackingIssuer
USDCFiat-backedUSD in bank accountsCircle
USDT (Tether)Fiat-backedUSD + other assetsTether
DAICrypto-collateralizedETH and other cryptoMakerDAO (decentralized)
FRAXAlgorithmic/hybridPartial crypto backingFrax Protocol

DeFi Total Value Locked (TVL)

TVL measures the total assets deposited in DeFi protocols:

PeriodDeFi TVLContext
Jan 2020$700MEarly stage
Jan 2021$20BDeFi Summer explosion
Nov 2021 (peak)$180BBull market peak
Dec 2022 (trough)$40BCrypto winter + Terra collapse
2024$80-100BRecovery; L2 growth

DeFi Risks

RiskDescriptionNotable Example
Smart contract bugsCode vulnerability exploited to drain fundsPoly Network hack ($611M, later returned)
Algorithmic stablecoin collapseDe-peg event destroys value rapidlyTerra/LUNA collapse ($40B+ wiped out, May 2022)
Liquidity crisesSudden mass withdrawals drain poolsVarious bank-run events
Governance attacksMalicious proposals pass through token votingBeanstalk exploit ($182M)
Oracle manipulationPrice feed manipulation triggers false liquidationsFlash loan attacks
Regulatory riskDeFi faces regulatory uncertainty globallyCFTC, SEC enforcement actions
User errorSending to wrong address; losing private keysPermanent loss — no chargebacks

DeFi vs. CeFi (Centralized Finance)

FeatureDeFiCeFi (Coinbase, Binance)
CustodySelf-custody (your keys)Custodian holds your assets
KYC/AMLNoneRequired
AccessPermissionless; globalGeographic restrictions; ID required
Counterparty riskSmart contract riskExchange solvency risk (see FTX)
Interest ratesAlgorithmically setPlatform-determined
Recovery if locked outNone (lost keys = lost funds)Account recovery options
TransparencyFull (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.

Back to Glossary
Financial Term DefinitionTechnology & Modern Finance