How Yield Farming Works: Fees, LP Tokens and BONE
Yield farming for beginners: deposit a token pair, earn swap fees and farm rewards, and see why the displayed APR can fall as more LP tokens join.
The Top Crypto Editors 3 min read
Yield farming works by depositing two tokens into a liquidity pool, then staking the LP tokens you receive in a farm to earn swap fees and reward tokens.
Say you add equal value of SHIB and ETH to a pool. The pool mints LP tokens that represent your share; you can redeem them for your share of the pool’s underlying tokens. As traders swap through a Uniswap v2-style pool, liquidity providers earn a share of each swap fee.
What happens when you stake LP tokens?
Staking LP tokens in a farm earns reward tokens on top of the fees generated by the pool. The LP tokens stay staked while the farm distributes rewards, and you can later unstake them and redeem them for the underlying pair.
On shiba swap, the exchange’s Dig feature adds liquidity to a pair such as SHIB/ETH. You receive LP tokens for that pool, then stake them in a farm to earn BONE. shiba swap uses this same basic sequence: pair your tokens, receive LP tokens, and put those tokens to work in a farm.
The two returns come from different places. Swap fees accumulate in the pool and are reflected in the tokens you can redeem; farm rewards are emitted separately. Ethereum.org describes liquidity provision and lending as sources of DeFi yield.
Why can the APR change?
A farm’s reward APR depends on how many LP tokens share its emissions. If it distributes a fixed amount of rewards per block, each staker’s portion depends on their share of all staked LP tokens. When more liquidity joins, the same emissions are split across more LP tokens, so the APR falls.
The displayed APR is a snapshot, not a fixed return. It can change as the number of staked LP tokens, token prices, or pool fees change. Your total return also depends on the value of the reward token and the pool tokens when you withdraw.
One key risk is impermanent loss: if the pair’s relative prices move while your tokens are in the pool, your redeemed share can be worth less than simply holding the original tokens. Fees and rewards may offset that difference, but they do not remove the risk.
To understand a farm before using it:
- Choose a token pair and check how the pool works.
- Deposit equal value of both tokens and note the LP tokens you receive.
- Check the farm’s reward token and how emissions are shared.
- Account for fees, APR changes and impermanent loss before depositing.