Liquidity pools are the engine that powers every decentralized exchange. Every DEX trade, yield farm, and token swap runs through them. Whether you're a trader, a liquidity provider, or planning to run your own DEX — understanding how pools work is essential.
What Is a Liquidity Pool?
A liquidity pool is a smart contract holding two tokens in a pair — for example, BNB and USDT. Instead of matching buyers with sellers like a traditional order book, the pool lets anyone trade directly against the locked liquidity. Prices adjust automatically using the AMM formula — no humans or market makers needed.
How Does the AMM Formula Price Tokens?
The most common AMM uses the constant product formula: x × y = k. Here x and y are the quantities of each token in the pool, and k remains constant. When someone buys token A, the pool's balance of A decreases and B increases — automatically raising the price of A. Large trades relative to pool size cause more "price impact."
What Are LP Tokens?
When you deposit tokens into a liquidity pool, you receive LP (Liquidity Provider) tokens representing your share of the pool. These tokens:
- Track your percentage ownership of the total pool
- Accumulate trading fees over time — automatically
- Can be staked in yield farms to earn additional token rewards
- Are burned when you withdraw your liquidity plus accrued fees
How Do Liquidity Providers Earn?
Every swap charged a fee (typically 0.25%) is distributed proportionally to LP token holders. If you own 10% of a pool and that pool generates $500 in daily trading fees, you earn $50/day — entirely passively as long as your liquidity stays in the pool.
What Is Impermanent Loss?
Impermanent loss happens when the price ratio of your two tokens changes significantly after deposit. If one token doubles in price, you'd have earned more simply by holding both tokens rather than providing liquidity. The loss is "impermanent" because it reverses if prices return to the original ratio.
Key insight: high-volume stable pairs (USDT/USDC) have near-zero impermanent loss. Volatile pairs (new token/BNB) carry meaningful risk. Fee income must exceed impermanent loss for LP positions to be profitable.
Types of Liquidity Pools
Standard AMM (v2-style)
Classic two-token pools using the constant product formula. Capital is spread across all possible prices — simple but capital-inefficient.
Concentrated Liquidity (CLMM)
LPs choose a price range — capital is deployed only within that range. Much more efficient: the same capital earns far more in fees when the price stays in range. Used by Uniswap v3 and DexCrypto's Solana DEX.
Stable Pools
Optimized for pegged assets (USDT/USDC). Much lower price impact on large trades — ideal for stablecoin liquidity.
How DEX Operators Earn (The Higher-Leverage Model)
If you run a DEX instead of just providing liquidity to one, you earn from every swap across your entire platform — not just the pools you've seeded. Your operator wallet receives a cut of all fees regardless of who added the liquidity. As your platform's volume grows, your operator income scales — without adding more capital to pools.
DexCrypto's BNB Chain DEX starts at $50/month and routes all operator fees to your wallet. The Solana DEX is a one-time $700 — after that, all fees are yours forever.
Final Thoughts
Liquidity pools transformed DeFi by making token trading available 24/7 without intermediaries. Understanding fee mechanics, impermanent loss, and pool types puts you in control — whether you're providing liquidity, trading against it, or running the exchange that hosts all of it.