3 min to read.
Yield Farming
Moving crypto assets between DeFi protocols to earn fees, interest and reward tokens.
What is Yield Farming?
Yield farming is the practice of putting crypto assets to work in decentralised finance (DeFi) protocols in order to earn returns. Those returns come in the form of trading fees, interest or newly issued tokens that protocols distribute as incentives. Farmers often move funds between protocols in search of the highest rate.
How it works
The usual sources of yield are:
- Providing liquidity. A user deposits a pair of tokens into a pool on a decentralised exchange and receives a share of the fees paid by traders. The deposit is represented by a liquidity provider (LP) token.
- Lending. A user deposits tokens in a lending protocol and earns interest paid by borrowers.
- Incentive rewards. To attract deposits, a protocol hands out its own token to users; this is often called liquidity mining. LP tokens can frequently be deposited ("staked") in a further contract to collect these rewards.
Strategies are sometimes layered, for instance by borrowing against a deposit and depositing the borrowed funds elsewhere. Services known as yield aggregators automate such steps.
Example
A user deposits equal values of ether and a stablecoin into a pool. They earn a portion of each trading fee and, on top, receive the exchange's governance token every day. The displayed rate looks high because it includes those reward tokens at their current market price.
Why it matters
Liquidity supplied by farmers is what allows decentralised exchanges and lending markets to function. Incentive programmes were a major driver of DeFi's growth from 2020 onwards.
Risks
- Impermanent loss. When the prices of the two pooled tokens diverge, a liquidity provider ends up with less value than by simply holding them.
- Reward tokens can fall quickly in price as recipients sell, so advertised rates are unstable and can collapse.
- Smart contract bugs and exploits can wipe out deposits. Each added protocol in a strategy adds another point of failure.
- Rug pulls are frequent among new farms that offer very high rates.
- Borrowing to farm adds liquidation risk.
- Transaction fees can exceed the earnings on small amounts.
Common misunderstanding
A high displayed rate is not income that can be counted on; in general, the higher the rate, the higher the risk behind it.