Yield farming is hunting for the best returns across different DeFi protocols. If you havenât read about liquidity-pools, automated-market-makers, and impermanent-loss yet, do that first â yield farming builds on all of them.
The Basic Idea
Think of it with the friend group:
You have âš1,00,000 and three friends offer you deals:
- Priya: âLend me your money, Iâll pay 5% interestâ
- Aman: âPut money in my shopâs cash register, Iâll give you 8% from transaction feesâ
- Sneha: âInvest in my new venture, 15% returns â but itâs riskyâ
A yield farmer moves money to whoever offers the best deal right now, and sometimes layers strategies on top of each other to amplify returns.
The Three Layers of Yield
Layer 1: Basic Yield (Provide Liquidity)
Deposit tokens into a liquidity pool â earn trading fees.
Most pools charge 0.3% per swap. Your share depends on how much of the pool you own. If thereâs 10K, you own 1% and earn 1% of all fees.
Typical returns: 2-10% APY depending on the pool and trading volume.
Layer 2: Liquidity Mining (Bonus Tokens)
Some protocols give you extra tokens on top of trading fees just for providing liquidity. Itâs like a restaurant giving you loyalty points for eating there.
Why? New protocols need liquidity to function. They basically bribe you with their own token to bring your money to their platform.
flowchart TD A["You provide liquidity đ°"] --> B["Earn trading fees<br/>(from swaps)"] A --> C["Earn bonus tokens đ<br/>(liquidity mining reward)"] B & C --> D["Total yield is higher<br/>than fees alone"]
This is how some pools advertise 30-50%+ APY. The trading fees might only be 5%, but the bonus token rewards add another 25-45%.
The catch: Those bonus tokens often lose value over time (more tokens being minted = dilution). So a 50% APY in a token that drops 80% isnât actually a good deal.
Layer 3: Leverage (Borrow to Amplify)
This is where it gets wild. You deposit 80. Use that 64 against that. Repeat.
flowchart TD A["Deposit $100 đ°"] --> B["Borrow $80 against it"] B --> C["Deposit $80, borrow $64"] C --> D["Deposit $64, borrow $51"] D --> E["Total working capital: ~$295<br/>All earning yield simultaneously"] E --> F["â ď¸ If collateral drops 10-20%,<br/>EVERYTHING gets liquidated"]
Youâve turned 295 of working capital, all earning yield. If your investments earn 10%, thatâs 10 â nearly 3x the return on your original $100.
The risk: If your collateral drops in value by even 10-20%, the lending protocol liquidates your position. The whole house of cards collapses. You lose everything. This is why leverage farming is sometimes called âdegenâ (degenerate) finance.
How Yield Farmers Actually Operate
In practice, yield farmers are constantly:
- Monitoring rates across dozens of protocols
- Moving funds to wherever the yield is highest
- Compounding â reinvesting rewards to earn yield on yield
- Managing risk â spreading across multiple pools, watching collateral ratios
Some people automate this with âyield aggregatorsâ like Yearn Finance, which automatically moves your funds to the highest-yielding strategy.
flowchart LR subgraph strategies["Yield Farming Strategies"] S1["Simple:<br/>Provide liquidity<br/>+ earn fees"] S2["Medium:<br/>LP + liquidity mining<br/>+ compound rewards"] S3["Advanced:<br/>Leverage + LP<br/>+ mining + compounding"] end S1 -->|"More complex, more reward, more risk"| S2 S2 -->|"More complex, more reward, more risk"| S3
Red Flags
Yield farming attracts scams. Watch out for:
- APY over 100%? Where is the yield actually coming from? If you canât answer this, donât invest
- New protocol nobodyâs heard of? Could be a rug pull â creators drain the pool and disappear with everyoneâs money
- âRisk-free yieldâ? No such thing. Ever. If someone says this, run
- Locked liquidity with no audit? The smart contract might have a backdoor
- Token price crashing while APY stays high? Youâre earning a lot of a worthless token. Check the dollar value of your returns, not just the percentage
My Take
Basic yield from providing liquidity to established pools (Uniswap, Curve, Aave) is legitimate and can be worth it. Liquidity mining can be okay if you sell the bonus tokens regularly instead of holding them.
Leverage farming? Thatâs gambling with extra steps. The returns look amazing until they donât. Only play with money you can afford to lose completely.
Do your own research. Seriously.