What Is Yield Farming?
Lesson by Uvin Vindula
Yield farming is the practice of deploying cryptocurrency into decentralized finance (DeFi) protocols to earn returns. Think of it as the crypto equivalent of earning interest at a bank — except instead of a centralized institution managing your money, smart contracts on a blockchain handle everything automatically, often at dramatically higher rates.
How Yield Farming Works
At its core, yield farming involves depositing your crypto assets into a smart contract — a self-executing program on a blockchain. In return, you earn rewards, which can come from several sources:
- Trading fees: When you provide liquidity to a decentralized exchange (DEX), you earn a share of the fees generated by traders using that pool.
- Protocol incentives: Many DeFi protocols distribute their own tokens to users who provide liquidity, as a way to bootstrap adoption and distribute governance power.
- Interest from lending: Protocols like Aave and Compound allow you to lend your crypto to borrowers and earn interest — similar to a savings account, but typically at much higher rates.
- Staking rewards: Some yield farming strategies involve staking tokens in protocols that secure proof-of-stake networks or governance systems.
The Origins of Yield Farming
Yield farming exploded into mainstream awareness in the "DeFi Summer" of 2020, when Compound Finance began distributing its COMP governance token to users who lent and borrowed on the platform. This created a feedback loop: people deposited assets to earn COMP, the token's price rose due to demand, which attracted more deposits, which drove the price higher. At its peak, some yield farming strategies advertised APYs (annual percentage yields) of 1,000%+ — numbers that seem impossible in traditional finance.
Why Do Yields Exist?
High yields in DeFi are not magic — they exist for specific, rational reasons:
- New protocols need liquidity: Without liquidity, a DEX cannot function. Protocols pay high rewards to attract the liquidity they need to operate.
- Risk premium: Higher yields compensate for real risks — smart contract bugs, impermanent loss, protocol failure, and regulatory uncertainty.
- Token emissions: Many high APYs come from newly minted protocol tokens. If the token price falls, the actual return in dollar terms can be much lower than the advertised APY.
- Temporary incentives: Launch-phase yields are intentionally high to bootstrap the protocol. They almost always decrease over time as more capital enters.
For Sri Lankan users, yield farming presents both opportunity and significant risk. While the returns can be attractive — especially when the Sri Lankan Rupee continues to face inflationary pressure — the technical complexity and smart contract risks should not be underestimated. Starting with small amounts on well-established protocols is always the prudent approach.
Key Takeaways
- •Yield farming involves deploying crypto into DeFi protocols to earn returns from fees, incentives, or interest
- •DeFi Summer 2020 popularized yield farming when Compound distributed its COMP token
- •High yields exist because of liquidity needs, risk premiums, and temporary token incentives
- •Advertised APYs can be misleading — token price declines can erase apparent gains
- •Start with small amounts on established protocols to manage risk
Quick Quiz
Question 1 of 3
0 correct so far
What is yield farming?