What Is Yield Farming?
Yield farming — also called liquidity mining — is a DeFi (decentralized finance) strategy where you deposit or lend cryptocurrency into smart contract-based protocols in exchange for rewards. Those rewards typically come in the form of the protocol's native token, a portion of trading fees, or interest from borrowers.
Think of it like putting money in a high-yield savings account, except the "bank" is a decentralized protocol governed by code rather than a company.
How Yield Farming Works
The basic mechanics involve three key roles:
- Liquidity Providers (LPs): Users who deposit pairs of tokens (e.g., ETH + USDC) into a liquidity pool on a decentralized exchange (DEX) like Uniswap or Curve.
- The Protocol: Smart contracts manage the pool, enable swaps for traders, and distribute fees back to LPs.
- Yield Aggregators: Platforms like Yearn Finance automatically move funds between protocols to maximize returns.
Key Metrics to Understand
| Term | Meaning |
|---|---|
| APY | Annual Percentage Yield — total return including compounding over a year |
| APR | Annual Percentage Rate — return without compounding |
| TVL | Total Value Locked — total assets deposited in a protocol (a health indicator) |
| Impermanent Loss | Value loss from price divergence between pooled tokens compared to simply holding them |
Popular Yield Farming Platforms
- Uniswap (v3): The largest DEX by volume; LPs earn a share of trading fees from concentrated liquidity positions.
- Curve Finance: Specializes in stablecoin pools; lower impermanent loss risk with solid, steady yields.
- Aave / Compound: Lending protocols where you earn interest by supplying assets to borrowers.
- Yearn Finance: Automates yield optimization by moving your funds to the highest-returning strategy available.
Understanding Impermanent Loss
Impermanent loss is one of the most misunderstood risks in yield farming. It occurs when the price ratio of your two deposited tokens changes after you provide liquidity. The greater the price divergence, the larger your loss compared to just holding the tokens.
Strategies to reduce impermanent loss:
- Provide liquidity to stablecoin pairs (e.g., USDC/DAI) where prices don't diverge
- Use platforms that compensate LPs with extra token incentives that offset the loss
- Choose pools where you have long-term bullish conviction on both assets
Risks of Yield Farming
Beyond impermanent loss, other serious risks include:
- Smart contract bugs: Protocols can be exploited; only use audited, well-established platforms.
- Rug pulls: New or anonymous projects may drain liquidity pools and disappear.
- Token inflation: High APY rewards in a protocol's own token can lose value quickly if selling pressure increases.
- Gas fees: On Ethereum, transaction fees can eat into profits, especially for small amounts.
Getting Started Safely
Start with established platforms, smaller amounts, and stablecoin-based pools to get comfortable with the mechanics. Use Layer 2 networks like Arbitrum or Polygon to reduce gas costs. Track your positions with tools like DeFiLlama or Zapper.fi to monitor performance in real time.