export const prerender = true; Liquidity Pool — What It Is and How It Works

TL;DR

A liquidity pool is a smart contract holding reserves of two tokens that enables decentralized trading. Instead of matching buyers and sellers, traders swap against the pooled reserves, with prices determined by a mathematical formula. Liquidity providers deposit tokens into the pool and earn a share of trading fees in return.

How It Works

Imagine a vending machine that holds two types of currency. You put in one type and get back the other, with the exchange rate based on how much of each the machine currently holds. That’s essentially a liquidity pool, except the vending machine is a smart contract on a blockchain.

Under the hood, a liquidity pool holds reserves of two tokens (for example, TOKEN and USDC). When someone wants to buy TOKEN, they send USDC to the pool and receive TOKEN back. The pool’s pricing formula (typically x * y = k for constant product AMMs) calculates exactly how many tokens to dispense based on the current reserves and the trade size.

Liquidity providers (LPs) are the people who stock the machine. They deposit both tokens (typically in equal value) and receive LP tokens representing their ownership share of the pool. Every time a trader swaps, a small fee (often 0.3%) is added to the reserves. Since LPs own a share of the reserves, their position grows with each trade.

The critical detail for token launches: the initial deposit sets everything. When you create a pool with 500,000 TOKEN and $10,000 USDC, you’ve implicitly set the starting price at $0.02 per token. The total USD value in the pool ($20,000 in this example) determines the liquidity: how much trading volume the pool can absorb before prices move significantly.

One common misconception is that a liquidity pool is like a bank account. It’s not. The composition of your position changes with every trade. If your token’s price doubles, you’ll end up holding more USDC and fewer tokens than you deposited, because traders have been buying tokens from the pool.

Try It Yourself

See how pool reserves change during a token launch: set your budget and liquidity split, then watch the simulator show how the initial deposit creates a pool, how the founder buy shifts reserves, and how subsequent trades move the price. Try the Token Launch Simulator →

  • Constant Product AMM: The pricing formula most liquidity pools use to determine exchange rates
  • Liquidity Provider: The person or entity that deposits tokens into the pool
  • Liquidity: How much capital is in the pool, which determines trade absorption capacity
  • Token Generation Event: The moment when a token launch creates its first liquidity pool
  • Slippage: The price difference caused by trading against a finite pool of reserves

Frequently Asked Questions

What is a liquidity pool in DeFi?

A liquidity pool is a smart contract on a blockchain that holds reserves of two tokens (like ETH and USDC) and allows anyone to trade between them. The pool uses a pricing formula to determine exchange rates automatically. Liquidity providers deposit both tokens into the pool and earn a percentage of every trade as fees.

How is a liquidity pool different from a traditional exchange?

Traditional exchanges match buy orders with sell orders in an order book. A liquidity pool has no order book: traders swap directly against the pooled reserves, and a mathematical formula sets the price. This means trades can execute instantly without waiting for a counterparty, but the trade size relative to pool reserves determines how much the price moves.

What happens to a liquidity pool during a token launch?

During a token launch, the founding team creates the pool by depositing their token alongside a base asset (like ETH or USDC). This initial deposit sets the starting price and determines how deep the pool is. A deeper pool means traders can buy or sell larger amounts without causing drastic price changes.

Can you lose money providing liquidity to a pool?

Yes. When the price ratio between the two tokens changes, liquidity providers experience impermanent loss: their pool position becomes worth less than if they had simply held the tokens separately. Trading fee income can offset this loss, but in volatile markets or low-volume pools, LPs may end up worse off than holders.

Read the Full Article

Enter your email for free access to this article and all simulation tools.

No spam. Unsubscribe anytime.

← Back to Learn

Get Token Launch Insights

Free AMM simulation tips, launch strategies, and tool updates. No spam.

Unsubscribe anytime.