What is yield farming?
Yield farming is the DeFi practice of putting crypto assets into protocols, such as lending pools or liquidity pools, to earn rewards like fees, interest or new tokens.
Also called: liquidity mining
How it works
Users deposit assets into a DeFi protocol through a smart contract. In a lending pool, borrowers pay interest to depositors. In a liquidity pool, depositors supply token pairs that traders swap against, and they earn part of the trading fees. Many protocols also pay extra rewards in their own token to attract deposits.
Farmers often move funds between protocols to chase the highest reward, and some reuse receipt tokens from one protocol as deposits in another. This adds return, but it also stacks risk.
The risks
High advertised rewards come with risks that are easy to miss. This is general information, not investment advice.
- Smart contract bugs: a flaw in the code, or an attack such as a flash loan attack, can drain a pool.
- Impermanent loss: when prices in a liquidity pool move apart, a depositor can end with less value than if they had held the tokens.
- Reward token risk: the token paid as a reward can fall fast in price.
- Rug pulls: the team behind a new farm takes the deposits and disappears, as in a rug pull.
- Fake farms: copy sites and fake apps that ask for wallet approvals and steal funds.
Warning signs of a fake or risky farm
Be careful with returns that are very high and said to be stable, anonymous teams with no audit history, contracts that let the owner move user funds, and sites that ask for unlimited token approvals. Requests to sign broad approvals are a common route for approval phishing.
Why it matters for risk teams
Exchanges and on-ramps see customers who lose funds in farms and then ask for help, and they also see stolen funds that move out of exploited pools. Clear education for users and checks on where funds come from help reduce both kinds of harm.
Related terms
- Decentralized finance (DeFi)Decentralized finance (DeFi) is financial services such as trading, lending and borrowing that run as smart contracts on a blockchain instead of through a bank or broker.
- Smart contractA smart contract is a program stored on a blockchain that runs automatically when called, holding and moving assets according to its code.
- Rug pullA rug pull is a crypto scam in which the creators of a token or project attract investors' funds and then take those funds and disappear.
- Approval phishingApproval phishing tricks a crypto user into granting an attacker permission to spend their tokens, so the attacker can take them later without the user's keys.
- Yield scamA yield scam promises high, steady returns on money or crypto but usually pays early investors with new deposits, like a Ponzi scheme, until withdrawals stop.