๐Ÿ“– Term ๐ŸŸข Plain English ๐Ÿ”ฐ Beginner

๐ŸŒŠ Liquidity Pool Liquidity Pool

A shared stash of two crypto tokens locked in a smart contract. Instead of waiting for someone to take the other side of your trade, you swap directly against the pool โ€” anytime, day or night.

๐Ÿ’ก
Common misconception โ€” Is impermanent loss only temporary? Not really! It stays "impermanent" only while the price ratio can drift back. The moment you withdraw with the ratio still skewed, the loss becomes permanent.
๐Ÿค Liquidity Providers deposit ETH + USDC get LP tokens + fees ๐Ÿ” Swappers trade against the pool pay a small fee ๐ŸŒŠ The Pool (AMM) two-token reservoir x ยท y = k sets the price
๐Ÿค Providers fill one shared pool with a token pair and earn fees on top, while ๐Ÿ” swappers trade against the same ๐ŸŒŠ pool โ€” the x ยท y = k formula reprices every swap automatically.

๐Ÿช The simple version โ€” a self-service exchange kiosk

Picture a self-service currency-exchange kiosk that two travelers stocked with equal piles of dollars and euros. Anyone can walk up and swap at any hour โ€” no teller, no waiting for a matching customer. As one pile shrinks, that currency gets a little pricier. The travelers who stocked the kiosk earn a small fee on every swap. A liquidity pool is that kiosk, built from two crypto tokens locked in a smart contract.

๐Ÿค Who fills the pool, and what do they get?

The people who stock it are called liquidity providers (LPs). They deposit a token pair, usually equal value of each (for example ETH plus a stablecoin like USDC). In return they receive LP tokens โ€” a receipt that proves their share of the pool and entitles them to a cut of the trading fees. Burn the receipt later and you redeem your share of whatever is in the pool.

โš–๏ธ How a price exists with no order book

A normal exchange uses an order book: it matches a buyer to a seller. A pool has neither. Instead an Automated Market Maker (AMM) runs a formula. The most common one is the constant product rule:

PieceWhat it means
๐Ÿ“ x ยท y = kx and y are the amounts of the two tokens; k must stay constant
๐Ÿ›’ You buy token XYou remove some X, so y must grow โ€” you put in more of token Y
๐Ÿ“ˆ Price movesAs X drains from the pool, each remaining X costs more. The math reprices automatically.

๐Ÿ“Š This is why a big trade in a small pool causes heavy slippage: you're draining one side fast, and the formula pushes the price hard against you.

๐ŸŒ Why pools matter

Liquidity pools are the engine behind decentralized exchanges (DEXs) and much of DeFi, from token swaps to lending and yield farming. They run 24/7 with no central middleman, and anyone with crypto can supply liquidity and earn fees. The flagship example is Uniswap, whose pools popularized the x ยท y = k design and the common 0.3% fee.

๐Ÿšจ Things beginners should know

  • ๐Ÿ”ป Impermanent loss โ€” Arbitrage traders rebalance the pool, so your position can be worth less than if you had just held the two tokens
  • ๐Ÿ”’ It can turn permanent โ€” Withdraw while the ratio is still skewed and that loss is locked in for real
  • ๐Ÿ› Smart-contract risk โ€” The pool is code; bugs or exploits can drain it, no matter how the price behaves
  • ๐Ÿงฎ Fees aren't a guarantee โ€” Fee income can offset impermanent loss, but it doesn't promise you come out ahead

โ“ FAQ

Where does the price come from if there's no buyer on the other side?
A formula sets it. Most pools use a constant product rule, x * y = k, where x and y are the amounts of the two tokens. When you buy one token, you drain that side of the pool, so its price automatically rises. No human or order book is matching you โ€” the math does it.
How do liquidity providers actually earn money?
Every swap pays a small trading fee (on Uniswap, commonly 0.3%). That fee is split among everyone who supplied tokens to the pool, in proportion to their share. The more trading the pool sees, the more fees flow to providers.
Is impermanent loss really only temporary?
Only on paper. The loss is 'impermanent' while the price ratio can still drift back to where you deposited. The moment you withdraw with the ratio still skewed, that loss becomes permanent and real. Fees you earned can offset it, but they don't guarantee you come out ahead of simply holding the two tokens.

๐Ÿ”— Related