Liquidity provision: Earning trading fees
How to earn a share of trading fees by providing assets to decentralized exchanges.
In the world of Decentralized Finance (DeFi), you don't just stake tokens to secure a network; you can also provide the essential liquidity that allows global markets to function. This process, known as liquidity provision, enables you to earn trading fees every time someone swaps one asset for another using your deposited funds. It is one of the most active reaching passive income streams in the crypto ecosystem.
What is a liquidity pool?
In traditional finance, banks or large market-making firms provide the assets needed for people to swap one currency for another. These "middlemen" keep the spreads and fees for themselves. In decentralized finance, this role is filled by regular users through Liquidity Pools.
A liquidity pool is a smart contract that holds a pair of tokens, such as Ethereum (ETH) and a stablecoin (USDC). When you deposit your assets into one of these pools, you become a Liquidity Provider (LP). You are effectively acting as the bank, providing the "inventory" that traders need to execute their orders instantaneously without waiting for a specific buyer or seller to appear on the other side.
Every time a trader uses that pool to swap tokens, they pay a small trading fee (typically between 0.01% and 1%). A direct portion of that fee is distributed to everyone who has provided liquidity to the pool, proportional to their share of the total assets.
How liquidity provision works: The 50/50 rule
When you provide liquidity to a standard "Automated Market Maker" (AMM) like Uniswap V2 or Sushiswap, you generally must provide both tokens in the pair in equal dollar amounts at the time of deposit.
For example, if you want to provide $2,000 of liquidity to an ETH/USDC pool, you would deposit:
- $1,000 worth of ETH (the volatile asset).
- $1,000 worth of USDC (the stable asset).
As traders swap back and forth, the amount of each token in the pool changes according to the "Constant Product Formula" ($x * y = k$). If many people are buying ETH, the pool will have less ETH and more USDC. The algorithm automatically adjusts the price to attract "arbitrageurs" who rebalance the pool. As an LP, your total value remains roughly the same (ignoring price changes), but your composition of tokens shifts constantly.
Understanding the risks: Beyond the fees
Providing liquidity is more complex than simple staking and carries several specific technical and market risks that every investor must understand.
1. Impermanent Loss (IL)
This is the most significant risk for liquidity providers. Impermanent loss happens when the price of the tokens you provided changes compared to when you deposited them. If the price of ETH rockets upward while USDC stays at $1, the pool will sell off your "winning" ETH to keep the 50/50 balance. You would have been better off just holding the ETH in your wallet.
If the price returns to exactly where it was when you deposited, the loss "disappears"—hence the term "impermanent." However, if you withdraw while the prices are diverted, that loss becomes permanent.
2. Smart contract and platform risk
Because liquidity pools are managed entirely by self-executing code, there is always a underlying risk that a flaw, "bug," or malicious "exploit" in the code could lead to the total loss of funds. Even established platforms like Curve Finance have experienced technical issues in the past. Always prioritize platforms that have undergone multiple security audits and have a long history of "Total Value Locked" (TVL).
Where to start: Risk-mitigated strategies
For those new to the concept of liquidity provision, starting with high-volatility pairs can be overwhelming. There are two common ways to mitigate risk:
- Stablecoin Pools: Providing liquidity for pairs like USDC/USDT or DAI/USDC. Since both assets are pegged to $1, the risk of impermanent loss is near zero. The yields are generally lower (2% to 8%), but it is an excellent way to learn the mechanics of the platforms.
- Correlated Pairs: Providing liquidity for assets that move together, such as ETH and stETH (staked ETH). Because these tokens generally maintain a similar value, the risk of significant impermanent loss is minimized.
Advanced: Concentrated Liquidity (Uniswap V3)
Modern platforms have introduced "Concentrated Liquidity." Instead of providing liquidity across the entire price range from $0 to infinity, you can choose a specific range (e.g., providing ETH liquidity only between $2,200 and $2,800).
- Benefits: Your capital is used much more efficiently. Since most trades happen near the current market price, you can earn up to 50x-100x more fees than a standard pool with the same amount of money.
- Complexity: It requires active management. If the price of ETH moves outside of your chosen range, your position becomes "inactive," and you stop earning any fees until the price returns or you "rebalance" your range (which requires paying gas fees).
Summary: Is liquidity provision right for you?
Providing liquidity allows you to earn income based on trading volume rather than just price appreciation. In a "sideways" market where prices aren't moving much but people are still trading, LPs often outperform simple holders. However, in a parabolic "bull market" or a crashing "bear market," the risks of impermanent loss can quickly outpace the fees you earn.
In the next chapter, we will look at yield aggregators, which are the automated "robots" of the DeFi world that help you manage these positions and find the best returns without manual work.
Further Reading
- Uniswap's Guide to LPing - The official technical breakdown from the creators of the first major AMM.
- Whiteboard Crypto: Impermanent Loss Explained - A visual and simplified explanation of the most complex risk in liquidity provision.
- Aave's Liquidity Protocol - Documentation for one of the largest decentralized lending and liquidity markets in the world.