What Is Yield Farming?
Yield farming — also called liquidity mining — is the practice of depositing cryptocurrency into DeFi protocols to earn rewards. Think of it like a high-tech savings account, except instead of a bank holding your money, a smart contract does — and instead of a fixed interest rate, rewards can come in the form of additional tokens, protocol fees, or governance rights.
At its simplest: you supply liquidity, the protocol uses it, and you earn a yield in return.
How Liquidity Pools Work
Most yield farming happens inside liquidity pools. A liquidity pool is a smart contract holding two (or more) tokens, which traders use to swap assets on a DEX. When you deposit tokens into a pool, you become a liquidity provider (LP).
Every time someone trades through that pool, a small fee is collected. That fee is distributed proportionally to all LPs based on their share of the pool. The more trading volume a pool sees, the higher your fee earnings.
Understanding APY vs APR
Two metrics dominate yield farming dashboards:
- APR (Annual Percentage Rate): Simple interest earned over a year without compounding.
- APY (Annual Percentage Yield): Return including the effect of compounding — reinvesting rewards back into the position.
A 100% APR compounded daily becomes approximately 171% APY. Always check which figure a protocol is displaying, as APY looks more attractive but requires active reinvestment to achieve.
Types of Yield Farming Strategies
1. Standard LP Farming
Deposit a token pair (e.g., CLEO/ETH) into a DEX liquidity pool. You earn trading fees and sometimes bonus token emissions from the protocol.
2. Single-Sided Staking
Some protocols allow you to stake a single token — eliminating the need to provide a pair. This is simpler and avoids impermanent loss (more on that below), though yields are often lower.
3. Vault Strategies (Auto-Compounding)
Yield aggregators like Beefy Finance automatically compound your farming rewards, reinvesting them to maximize APY without manual intervention. These are great for set-and-forget farming.
4. Lending & Borrowing Farms
Platforms like Aave and Compound let you earn interest by lending your tokens. You can also borrow against collateral and reinvest — a more advanced, leveraged approach.
The Risk of Impermanent Loss
Impermanent loss (IL) is one of the most misunderstood risks in DeFi. It occurs when the price ratio of your pooled tokens changes after you deposit them. The greater the price divergence, the larger the impermanent loss compared to simply holding the tokens.
IL is called "impermanent" because if prices return to their original ratio, the loss disappears. However, if you withdraw while prices have diverged, the loss becomes permanent.
Rule of thumb: Impermanent loss is lower when you provide liquidity for two correlated assets (e.g., USDC/USDT stablecoins) and higher for volatile pairs.
Key Risks to Understand Before Farming
- Smart Contract Risk: Bugs in the protocol's code can be exploited by hackers.
- Rug Pulls: Malicious projects can drain liquidity pools. Always check audits.
- Token Emission Dilution: High farming rewards often mean high token inflation, which can suppress price.
- Gas Costs: On Ethereum mainnet, frequent compounding can eat into profits.
How to Evaluate a Farming Opportunity
- Check whether the smart contract has been independently audited.
- Assess the TVL (Total Value Locked) — higher TVL generally signals more trust.
- Understand where the yield comes from. Sustainable yields come from real protocol usage; unsustainable ones come purely from token emissions.
- Calculate potential impermanent loss for your chosen pair.
- Compare net APY after gas costs and IL.
Getting Started
Begin with stablecoin pools or single-sided staking to minimize risk while learning the mechanics. As you grow comfortable, explore more complex strategies — but always allocate only what you can afford to lose. DeFi rewards the patient and the informed.