Onchain Atlas

Liquidity Mining

A protocol pays newly minted tokens to anyone who deposits assets into it, buying liquidity and users with inflation instead of cash.

Also called: yield farming · LP incentives · farming rewards

What it is

Liquidity mining is when a protocol distributes its own token as a reward to people who supply capital — usually by depositing into a lending pool or providing liquidity to a trading pair. Instead of paying users in dollars, the protocol pays them in newly created tokens, effectively using future dilution to buy present-day activity. It became the standard bootstrapping tool for DeFi after Compound popularized it for lending markets in 2020.

How it works

  1. A protocol defines an emission schedule: a fixed number of governance or reward tokens to be distributed per block or per day.
  2. Users take an eligible action — depositing into a lending pool, supplying to an AMM pool, staking a liquidity-provider (LP) token — which the protocol tracks on-chain.
  3. A smart contract measures each user's share of the total deposited (or borrowed) volume in that pool over time.
  4. Rewards accrue continuously or per block, proportional to that share, and are held in the contract until claimed.
  5. Users call a "claim" or "harvest" function to withdraw accrued tokens, which mints or transfers them from a treasury/rewards pool.
  6. Many designs split rewards between suppliers and borrowers, or weight pools differently to steer liquidity toward specific assets.
  7. Recipients typically sell some portion of the reward on the open market to realize value, creating constant sell pressure that the protocol's fee revenue or token utility must eventually offset.

Why designers use it

  • Solves the cold-start problem: a new pool or market has no liquidity and no users, and paying in equity-like tokens is cheaper than paying cash the protocol doesn't have.
  • Directs liquidity precisely where it's needed by adjusting emission weights per pool or asset.
  • Distributes governance tokens to actual users of the protocol rather than only to insiders, aligning incentives (in theory).
  • Creates a flywheel: more liquidity attracts more users, which can justify the token's price and future emissions.

Failure modes

  • Mercenary capital: liquidity providers farm the reward token and sell it immediately, so liquidity evaporates the moment emissions slow or a better-paying farm appears elsewhere.
  • Death spiral: constant sell pressure from farmers pushes the token price down, which lowers the dollar value of rewards, which drives liquidity out, which further depresses price.
  • Impermanent loss masking: LPs may not realize that the token rewards are subsidizing losses from price divergence in the underlying pool, and they only notice after the reward token has fallen.
  • Whale capture: large depositors can absorb a disproportionate share of emissions, making rewards ineffective at attracting broad participation while diluting everyone else.
  • Emission-driven inflation: if the token has no separate revenue-generating utility, the reward supply keeps growing while demand doesn't, permanently suppressing price.

What to check before using it

  • Model the token's total supply and emission curve over multiple years, not just the launch period, to see how dilution compounds.
  • Decide whether rewards vest, lock, or are freely liquid immediately — instant liquidity maximizes mercenary behavior.
  • Have a plan for what happens when emissions taper: does the protocol have real fee revenue to retain liquidity without subsidy?
  • Check whether the incentivized pools actually need the liquidity being paid for, or whether emissions are being wasted on pools nobody uses.
  • Consider whether liquidity mining rewards should be weighted toward long-term or "sticky" behavior (e.g., time-locked LP positions) rather than raw deposit size.

Experiments that used it · 14

Shown oldest first, so you can watch the design evolve.

Synthetix
SNX-collateralized synthetic-asset protocol whose pooled-debt model pioneered liquidity mining and DeFi derivatives, then spent years unwinding that same debt machinery until sUSD was retired in 2026 and the protocol pivoted to a mainnet perps exchange.
2018 partial success
Compound (lending)
Algorithmic pooled money market on Ethereum whose cToken model and June 2020 COMP liquidity-mining launch set the template for DeFi lending and ignited 'DeFi Summer'.
2018 major success
Pickle
DeFi Summer fair-launch experiment that used dynamic PICKLE farming weights to push stablecoins toward peg, evolved into a multi-chain yield aggregator, survived a $19.7M 'evil jar' exploit, merged talent into Yearn, and wound down in 2025.
2020 partial success
BarnBridge
DeFi protocol that tranched lending-market yield into fixed-rate senior bonds and levered-variable junior tokens, and was wound down in 2023 citing regulatory constraints.
2020 technically successful commercially unsuccessful
Dynamic Set Dollar
A faster, more aggressive fork of Empty Set Dollar whose uncollateralized rebase-and-coupon stablecoin ballooned to ~$300M in weeks, lost its $1 peg within a month, and never recovered despite a v2 redesign.
2020 failed
Balancer
A generalized AMM using a weighted geometric-mean invariant that turned index funds inside out — LPs get paid to be rebalanced — and helped ignite DeFi Summer with one of the first liquidity-mining programs, before a 2025 rounding-error exploit drained $128M from its V2 stable pools.
2020 partial success
Compound (COMP Liquidity Mining)
Compound's June 2020 COMP distribution paid protocol users a governance token per block for supplying and borrowing, inventing modern liquidity mining and igniting DeFi Summer.
2020 partial success
SushiSwap (Vampire Attack)
A Uniswap fork that used aggressive SUSHI liquidity-mining rewards to 'vampire' roughly $800M+ of Uniswap's liquidity into its own AMM in two weeks, surviving a founder rug-pull scare to become a lasting protocol.
2020 partial success
Saffron Finance
A DeFi 'risk tranching' protocol that let liquidity providers split yield-farm exposure into senior and junior tranches, briefly a DeFi-winter darling before its TVL and token collapsed and it pivoted to fixed-income yield vaults.
2020 technically successful commercially unsuccessful
Hegic
Pseudonymous solo-dev options protocol that pioneered the peer-to-pool model — buyers trade against a pooled counterparty instead of an order book — surviving a launch-day bug, multiple full rewrites, and a bear market to remain the largest on-chain options AMM.
2020 ongoing
WHALE
Pseudonymous NFT mega-collector WhaleShark issued a 10M-supply ERC-20 social token whose value was underwritten by 'The Vault,' a publicly audited multi-million-dollar NFT collection governed by a token-holder DAO.
2020 partial success
Iron Finance
A Frax-style partially collateralized stablecoin (IRON) on BSC and Polygon whose share token TITAN hyperinflated to near-zero in June 2021 in what the team called crypto's first large-scale bank run.
2021 failed
APWine
One of the first protocols to split yield-bearing tokens into principal and tradable future-yield tokens, letting farmers sell unrealized yield in advance — it pioneered the mechanism Pendle later dominated, and survived by rebranding into Spectra.
2021 partial success
Mango Markets
Solana's flagship cross-margin lending and perpetuals DEX, drained of ~$110M via oracle manipulation of its own MNGO token in 2022, then wound down in 2025 citing regulatory constraints.
2021 exploited