Decentralized finance (DeFi) has seen its total value locked (TVL) climb to nearly $100 billion, with yield farming acting as the primary growth engine. This practice lets users deploy digital assets into smart contract-based pools to earn token rewards — essentially a complex, high-yield on-chain savings mechanism.
How Yield Farming Works
Liquidity providers (LPs) deposit crypto into automated pools. In return, they collect trading fees, interest, and often additional protocol tokens. On Curve Finance, for instance, an LP receives pool tokens that can be re-staked elsewhere for extra yield. The more layers stacked, the higher the potential return — and the greater the complexity. Some protocols distribute governance tokens to attract liquidity, giving holders a say in protocol upgrades.
Three Main Models
Liquidity provision: On Uniswap, users supply two tokens in a 50/50 ratio to earn fees and UNI tokens. Uniswap currently holds about $5.9 billion in TVL. Lending: On Compound or Aave, depositors lend assets to overcollateralized borrowers, earning interest plus governance tokens (COMP/AAVE). NFT farming: Stake NFTs for token rewards, or stake tokens to win NFTs — a newer, more niche category.
Compound Practical Walkthrough
To start yield farming on Compound: visit compound.finance, connect a wallet, select a network (Ethereum, BNB Chain, Avalanche, etc.), choose a market, enable the smart contract, deposit tokens, and sign the transaction. Yield begins accruing immediately. Withdrawal follows the same path. The entire process takes minutes, though gas fees can vary significantly.
Key Protocols
Beyond Uniswap, Curve Finance focuses on stablecoin swaps with over $5 billion locked, rewarding LPs with CRV tokens. PancakeSwap, built on BNB Chain, allows LPs to stake their LP tokens for additional CAKE rewards. These three dominate the DEX landscape by TVL.
Risks You Must Know
Impermanent loss: When the price ratio of pooled assets shifts, LPs may hold less value than simply holding the assets. The loss is unrealized until withdrawal. Smart contract risk: Hackers stole over $3 billion from DeFi in 2022, dropping to $1 billion in 2023 — improvement noted, but caution advised. Rug pulls: Developers disappear with user funds, often after promising unrealistic returns. Volatility: Locked tokens may crash in value, locking in losses. Regulatory vacuum: Most DeFi lacks legal recourse for fund loss.
Yield farming is gradually becoming more secure and environmentally conscious, with increasing integration into traditional finance. Investors should always audit protocol code, lock-up terms, and team background before committing funds.

