Yield Farming in DeFi
Yield farming is the practice of deploying crypto assets into decentralised finance (DeFi) protocols to earn rewards — typically in the form of interest, trading fees, or governance token emissions. Yield farmers actively move capital between protocols to maximise returns, accepting smart contract risk, token volatility risk, and impermanent loss in exchange for yield.
Yield farming became one of the defining phenomena of the 2020–2021 DeFi summer, when annual percentage yields (APYs) of 100–1000% were advertised by newly launched protocols and billions of dollars flooded into decentralised finance. While the extreme yields of that era have largely normalised, yield farming remains an active strategy for DeFi participants. Understanding the real mechanics and risks is essential before deploying capital.
How Yield Farming Works
Yield farming involves depositing crypto assets into DeFi smart contracts that need liquidity to function. In return, you receive a share of the protocol's revenue and/or newly minted governance tokens. The main categories:
Lending protocols (Aave, Compound): You deposit assets (USDC, ETH, WBTC) into a lending pool. Borrowers pay interest on loans; you receive a portion of that interest as the depositor. Rates are variable, determined by utilisation. Lower risk than liquidity provision — no impermanent loss, just smart contract risk.
Automated Market Maker (AMM) liquidity provision (Uniswap, Curve, Velodrome): You deposit two assets into a liquidity pool (e.g. ETH/USDC). When traders swap through that pool, they pay a trading fee (0.01–1%) that is distributed to liquidity providers proportional to their share of the pool. Rewards are earned continuously in the form of fees. Subject to impermanent loss (see below).
Liquidity mining / governance token emissions: In addition to base fees or interest, many protocols distribute their governance token to liquidity providers as an additional incentive. High APY numbers in yield farming are typically driven by token emission rewards. These rewards inflate APY in the short term but dilute the token value over time — creating a race between earning rewards and the token price declining.
Impermanent Loss
Impermanent loss is the most misunderstood risk in yield farming. When you provide liquidity to an AMM pool with two assets (e.g. ETH and USDC), the AMM rebalances the ratio of assets as price changes. If ETH price doubles, the AMM has sold some of your ETH and bought USDC to maintain the ratio — meaning you hold less ETH than if you had simply held it. The difference between your AMM position value and the value of holding is the impermanent loss.
It is "impermanent" because if ETH returns to its original price, the loss disappears. If ETH continues to diverge significantly from its pool entry price, the loss can exceed the trading fees earned. For volatile asset pairs (ETH/altcoin), impermanent loss risk is high. For stable pairs (USDC/USDT), impermanent loss is negligible — which is why stablecoin liquidity pools at lower APYs are often better risk-adjusted than volatile pairs at higher advertised APYs.
Evaluating Yield Farming Opportunities
Key questions before deploying capital into any yield farm:
- What is the underlying yield source? Is the APY from real protocol fees (sustainable) or from governance token emissions (temporary and dilutive)? If 90% of the APY is from a new governance token, ask: what does that token fundamentally justify its value?
- How long has the contract been audited? Smart contract bugs are the most common catastrophic risk in DeFi. Prefer protocols audited by reputable firms (Trail of Bits, Certik, Quantstamp) with 12+ months of live operation without exploits.
- Who controls the admin keys? Many DeFi protocols can have their parameters changed or funds drained by the team via admin functions. Check whether admin keys are held by a multi-sig, time-locked, or burned.
- What is the TVL trend? Falling TVL means capital is leaving — often a sign of declining confidence or better opportunities elsewhere.
- What is the actual net APY after impermanent loss risk? An 80% APY pool where your two assets are likely to diverge significantly may produce less actual return than a 12% APY stablecoin pool with near-zero impermanent loss.
Rug Pulls and Yield Farm Scams
Yield farming attracted significant fraud during the DeFi boom. Common patterns: a team launches a protocol, advertises extremely high APYs, attracts a large TVL deposit base, then drains the liquidity pool — a "rug pull." Indicators of suspicious protocols: anonymous teams with no track record, unaudited contracts, extremely high APYs with no clear fee revenue source, copy-pasted code from other protocols, limited time to deposit before "farming starts." If any of these flags are present, avoid entirely — the asymmetry of loss is too extreme.
Summary
Yield farming generates returns by deploying assets into DeFi lending protocols or AMM liquidity pools. Returns come from interest, trading fees, and/or governance token emissions. Key risks: impermanent loss (for volatile AMM pairs), smart contract exploits, governance token price decline, and rug pulls. Evaluate whether APY is from real fee revenue (sustainable) or token emissions (temporary). Stablecoin pools with audited, established protocols offer the best risk-adjusted yield in DeFi. Size yield farming positions relative to smart contract risk using the Risk Calculator.