What Is a Liquidity Provider? How LPs Earn Fees in DeFi

Liquidity providers are the backbone of decentralized trading. This guide explains how LPs work, what impermanent loss really means, and how newer protocols are solving the biggest pain points in DeFi liquidity.

Every swap on a decentralized exchange needs liquidity on both sides of the trade. Liquidity providers (LPs) supply that liquidity, and in return, they earn a cut of trading fees. It's the fundamental economic engine that makes DeFi trading possible.

But traditional LP models come with trade-offs that often surprise newcomers. This guide explains how liquidity provision actually works, where the risks hide, and how the model is evolving.

The Role of Liquidity Providers in DeFi

On a centralized exchange, market makers maintain order books and profit from bid-ask spreads. Decentralized exchanges (DEXs) needed a different approach since there's no central entity coordinating orders.

The solution was automated market makers (AMMs). Instead of matching buyers and sellers directly, AMMs use liquidity pools filled with token pairs. When you swap ETH for USDC, you're trading against a pool, not another person.

LPs deposit tokens into these pools and receive LP tokens representing their share. When traders swap against the pool, they pay a small fee (typically 0.3%), which gets distributed proportionally to all LPs based on their share of the pool.

How Traditional AMM Liquidity Works

Most AMMs use a constant product formula: x * y = k. If a pool holds ETH and USDC, this formula ensures that as ETH gets bought (supply decreases), its price in USDC automatically increases. The math enforces price discovery without any order book.

To become an LP on a standard AMM like Uniswap, you deposit equal values of both tokens. If you want to provide liquidity to an ETH/USDC pool when ETH is $3,000, you might deposit 1 ETH plus 3,000 USDC.

Your LP tokens track your ownership percentage. If the pool generates $10,000 in fees and you own 1% of the pool, you've earned $100. That revenue accrues automatically in the form of additional tokens in your position.

Impermanent Loss: The Hidden Cost of LPing

Here's where traditional LPing gets complicated. When you provide liquidity, you're essentially agreeing to sell the appreciating asset and buy the depreciating one as prices move. The pool's constant product formula rebalances your holdings automatically.

Impermanent loss (IL) measures how much worse off you are compared to simply holding the tokens. If ETH doubles in price while you're LPing, the pool will have sold some of your ETH for USDC along the way. You'd have been better off just holding your original ETH.

The loss is called "impermanent" because it reverses if prices return to your entry point. But in volatile markets, IL can easily exceed fee earnings. A study of Uniswap v3 positions found that over half of LPs lost money after accounting for IL.

Quick IL Example

You deposit 1 ETH + 3,000 USDC when ETH = $3,000 (total value: $6,000). ETH rises to $4,000. If you'd just held, you'd have $7,000 worth of assets. But the AMM has rebalanced your position to roughly 0.87 ETH + 3,464 USDC ($6,928 total).

Your IL is about $72, or roughly 1% of position value. With a 50% price move, that might not seem bad. But IL compounds with volatility. A 4x price move can mean 25%+ IL.

Beyond Traditional AMMs: How LP Models Are Evolving

The core problem with constant product AMMs is that LPs take on directional risk without choosing to. They're forced to sell winners and buy losers. Several approaches have emerged to address this.

Concentrated liquidity (Uniswap v3) lets LPs choose price ranges. This increases capital efficiency but amplifies IL if prices move outside your range. It also requires active management.

Virtual AMMs use oracles for pricing, reducing the arbitrage that causes IL. But oracle dependence introduces its own trust assumptions.

Just-in-time (JIT) liquidity takes a fundamentally different approach. Instead of parking capital in pools waiting for trades, LPs can provide liquidity only when a trade is about to happen, then withdraw immediately after.

Single-Sided LPing and Zero Impermanent Loss

Chainflip's [JIT AMM model](https://blog.chainflip.io/what-is-a-decentralized-exchange-a-chainflip-beginners-guide/) represents an evolution in how liquidity provision works. Instead of requiring paired deposits, LPs can deposit a single asset.

The protocol's market makers then provide the other side of trades using that liquidity. When you deposit BTC as an LP, you're not taking on ETH exposure. Your position stays denominated in BTC.

This eliminates impermanent loss entirely for range-order LPs. Your BTC holdings don't get rebalanced into other assets as prices move. You earn fees in the asset you deposited.

For those ready to explore this approach, Chainflip offers several ways to [earn crypto through LP positions, boost, and staking](https://blog.chainflip.io/earn-crypto-chainflip-liquidity-staking-boost/) with varying risk profiles.

Comparing LP Models

  • Traditional AMM (Uniswap v2): Paired deposits, automatic rebalancing, impermanent loss exposure, passive management
  • Concentrated Liquidity (Uniswap v3): Paired deposits within ranges, higher capital efficiency, amplified IL risk, active management required
  • JIT AMM (Chainflip): Single-sided deposits available, no automatic rebalancing, zero IL for range orders, fees earned in deposited asset

Is Liquidity Provision Worth It?

Traditional LPing can be profitable in stable pairs (like USDC/DAI) where IL is minimal. For volatile pairs, the math often doesn't work out unless you're actively managing positions or trading volume is extremely high.

The newer models change this calculus. Single-sided LPing without IL means you can [earn native BTC yield](https://blog.chainflip.io/earn-native-btc-yield-liquidity-provider-chainflip/) without exposure to other assets or the complexity of paired positions.

Understanding these mechanics helps you evaluate which opportunities actually make sense for your risk tolerance and time commitment.

Conclusion

Liquidity providers make decentralized trading possible by supplying the assets that pools need to facilitate swaps. Traditional AMM models compensate LPs with trading fees but expose them to impermanent loss that can eat into returns.

Newer approaches like JIT liquidity and single-sided deposits are addressing these structural issues. For LPs, this means more options and potentially better risk-adjusted returns than the first generation of DeFi protocols could offer.

Resources

Other Chainflip Products:

Find us:

FAQ

What is a liquidity provider in DeFi?

A liquidity provider deposits tokens into a decentralized exchange's liquidity pool. These deposits enable other users to swap tokens, and LPs earn a portion of trading fees proportional to their share of the pool.

How do liquidity providers make money?

LPs earn trading fees from every swap that uses their pool. On most AMMs, this is around 0.3% per trade, distributed among all LPs based on their percentage ownership of the pool's total liquidity.

What is impermanent loss and why does it matter?

Impermanent loss occurs when price changes cause your LP position to be worth less than simply holding the original tokens. Traditional AMMs automatically rebalance your holdings, selling appreciating assets and buying depreciating ones.

Can you provide liquidity with just one token?

Traditional AMMs require paired deposits of equal value. Newer protocols like Chainflip support single-sided deposits, allowing you to provide liquidity with just one asset without taking on exposure to a second token.

Is liquidity provision risky?

Yes. Beyond impermanent loss, LPs face smart contract risk and market risk. The profitability depends heavily on trading volume, fee rates, and price volatility of the paired assets. Single-sided LP models reduce some of these risks.