Glossary

What Is a Liquidity Pool? A DeFi Beginner's Guide

2026-05-29 · 链上迷雾

Why can a decentralized exchange swap tokens with no buy or sell orders? On a centralized exchange you see an order book — buyers and sellers post prices and trades match. Open a typical DeFi swap page, though, and there’s no order book at all, just an input field and a swap button. Behind it sits a concept called a liquidity pool. This piece assumes no finance background and walks through liquidity pools, the AMM formula, and the rewards and risks of being a provider.

What a liquidity pool actually is

Picture two transparent tanks side by side: one filled with Token A, the other with Token B. A pipe connects them at the bottom. Anyone can pour a bag of A into one side and scoop a corresponding amount of B from the other — no counterparty, no waiting for someone else’s order. As long as there are tokens in the tanks, you can swap.

Together those two tanks form a liquidity pool. Three core traits:

  • No traditional order book: price isn’t set by bids and asks; it comes from the ratio of the two tokens inside.
  • Anyone can be a supplier: deposit both tokens proportionally and you become a liquidity provider (LP), earning a share of the pool’s revenue.
  • Smart contracts run the pool: no back office; rules, prices, and fees live in on-chain code.

So a DeFi swap isn’t someone matching you in the background — you trade directly with the tanks. How much A you pour and how much B comes out is decided by the leftover balances and a math formula. This style is called an AMM (Automated Market Maker). Read alongside CEX vs DEX, a liquidity pool is essentially the engine room of a DEX.

The AMM formula, plainly

The classic AMM formula is one line: the product of the two token amounts must stay constant, written x * y = k.

A simple example:

  • Pool has 100 A and 10,000 B; k = 1,000,000.
  • You pour 10 A in. A side becomes 110.
  • To keep k = 1,000,000, B side must become 1,000,000 ÷ 110 ≈ 909.
  • So you get out about 10,000 − 909 ≈ 9,091 B.

A few beginner essentials follow:

  • Price isn’t fixed: every trade shifts x and y, so the next ratio shifts too.
  • Big trades incur big slippage: bigger swaps in smaller pools push price away from the original ratio.
  • Deeper pools mean a smoother experience: 10 A barely moves a deep pool but can wreck a shallow one.

When you check the true cost of a swap, don’t only read the price — see how slippage moved it, plus the pool’s fee. On EVM chains this stacks with gas fees.

Two transparent tanks side by side connected by a pipe at the bottom, one filled with stylized A coins and the other with B coins, a cartoon figure pouring tokens into the left tank while ladling coins out of the right

When you choose to supply the tanks

Why would anyone deposit their tokens? Two kinds of rewards:

  • A share of trading fees: every swap pays a small fee (say 0.3%) distributed to LPs by share.
  • Extra token incentives: many protocols also pay LPs in their own token — “liquidity mining.”

Sounds wonderful: drop in idle coins and earn while you sleep. But there’s a risk nearly every beginner underestimatesimpermanent loss.

The essence: when the two pool tokens’ prices move sharply, the basket you withdraw can be worth less than if you had simply held the original two tokens.

Picture this: you deposit 1 ETH + 2000 USDC when ETH is $2,000. ETH then rises to $4,000. Arbitrageurs constantly pull the now-cheap-in-pool ETH out. When you withdraw, you might get something like 0.7 ETH + 2,828 USDC (illustrative). Still a meaningful balance, but less than just holding the original tokens.

That “less” is impermanent loss. It’s impermanent because if prices return to the start, it vanishes; if they stay divergent on exit, it becomes a real cost. Whether fees and rewards cover it is case by case. Read with risk management so a “high APR” headline can’t pull you in.

Common pool types

As a beginner, sorting these four is enough:

  • Equal-weight two-token pool (e.g. 50/50 ETH/USDC): classic; the wider the two prices drift, the more impermanent loss bites.
  • Stablecoin pool (e.g. USDC/USDT/DAI): tokens track each other, so impermanent loss is tiny, but yields are thin.
  • Concentrated liquidity pool (Uniswap v3 style): LPs pick a price range; capital efficiency is high, but if price exits your range, you stop earning fees.
  • Unequal weight pool (e.g. 80/20): leans toward one token, giving exposure closer to “holding,” but doesn’t fully erase impermanent loss.

None of these is objectively best. What matters is being clear about your LP exposure: how much volatility you’ll tolerate, how much active management you’ll do, how much impermanent loss you can stomach.

A wide control-room scene with several differently shaped liquidity pools labeled equal-weight, stablecoin, and concentrated-range, floating APR numbers and warning icons hovering above them

Common traps for beginners

A few snares worth seeing before any APR number:

  • APR without composition: a “100% APR” tells you nothing until you know how much is fees vs freshly printed protocol token.
  • Wild-volatility pools: pair two uncorrelated tiny coins and impermanent loss can eat most of your stake regardless of APR.
  • Forgetting total cost: entering and exiting cost gas, slippage, and potential impermanent loss — sum them before comparing to gains.
  • Ignoring contract risk: an exploit can drain funds instantly. Prefer widely used, audited pools.
  • Not reading lock-up terms: some pools require lock-ins before rewards unlock; you may not be able to exit when needed.

If you’re still finding your footing, read DeFi for beginners first, then come back to LP work.

Liquidity is DeFi’s engine — and its minefield

A precise summary: a liquidity pool is an “automatic quote desk” run by smart contracts, using math and supplier capital so on-chain swapping works without a traditional order book. Without these pools, DEXs don’t exist. Without LPs to fund them, even the slickest protocol is an empty shell.

But once this engine goes wrong, it’s also where the biggest blowups happen: contract exploits, price manipulation, severe impermanent loss in violent moves. Used well it powers DeFi; used carelessly it’s a minefield — the difference rarely comes from luck. It comes from whether you understood the mechanics above before stepping in.

This article is educational and not investment advice. DeFi involves smart contract risk, market volatility, and regulatory uncertainty — please evaluate carefully.

This article is for education only and is not financial advice. Crypto is volatile and risky — only ever risk what you can afford to lose.

Latest

Myths

Why Nine Out of Ten 'Insider Tips' Are Traps

"I have insider info" is the cheapest and most common opening line in crypto. Strip away the packaging and the real structure is almost never sharing — it's a carefully designed exit-liquidity funnel.

Exchange Safety

Why Is Storing Crypto Long-Term on an Exchange So Risky? Lessons Before the Next Blow-Up

Leaving coins on an exchange is convenient and looks normal. But "long-term" on an exchange is a thing that has blown up repeatedly in this industry. This article lays out why it remains unsafe.

Mindset & FOMO

Why You Should Not Flex Your PnL in Telegram Groups, and What It Actually Costs You?

Posting a PnL screenshot in a TG group feels like 5 seconds of pride, then 5 minutes of peer attention, then potentially 5 months of being targeted, copied, or kidnap-budgeted. This piece splits "why not to flex" into four layers — security, mindset, social, execution — and shows the bill on each.

Asset Security

What the $284M Trezor Phishing Wave Teaches Hardware Wallet Users

The early-2026 Trezor phishing wave drained roughly $284M without breaking a single chip. It stole something simpler — users' trust in "official" email. Here is how the chain worked and what to do about it.

Asset Security

Is My Wallet Actually Safe? How to Run a Thorough Self-Audit on Your Own

Most people only feel their wallet is "probably fine" and never sit down to verify. This article walks through a self-audit you can run alone — covering seed phrases, approvals, signatures, devices and asset distribution.

Asset Security

Your Exchange KYC Data Got Leaked — Now What?

You wake up to find you're on yet another exchange KYC leak list. What to do in the first hours, what defenses to build long-term? This piece is an ordered checklist focused on "protect assets first, identity next, habits last."