{
  "id": 19507337,
  "title": "What Is a Liquidity Pool? The On-Chain Mechanics Solana Devs Should Know",
  "url": "https://urgent.news/2026/11/11/what-is-a-liquidity-pool-the-on-chain-mechanics-solana-devs-should",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-11T14:12:31.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/swapio/what-is-a-liquidity-pool-the-on-chain-mechanics-solana-devs-should-know-828"
  },
  "original_language": "en",
  "account": "A liquidity pool is an on-chain program that holds reserves of two tokens and calculates swap prices based on those reserves. No order book, matching engine, or counterparty is involved. When you perform a swap, your tokens interact with the pool's reserves to receive the other token at a price determined on the spot. This price is derived from a constant-product invariant, where the product of the two token reserves remains constant throughout the trade.\n\nLiquidity providers deposit both tokens into the pool and receive LP tokens representing their share. They earn swap fees but also face impermanent loss risks when external prices move. The size of the pool affects price impact—if a pool is large, a given trade size barely shifts the ratio, while a smaller pool will see a more noticeable shift.\n\nSeveral AMM designs coexist on Solana, with constant-product being the most basic. More sophisticated designs include concentrated liquidity pools, which target specific price ranges, and dynamic liquidity market maker pools that adjust fees based on market volatility. Routing software helps users navigate these pools by finding the best routes with minimal impact.\n\nBefore executing a swap, check the displayed price impact, minimum received, and pool concentration. These factors indicate pool depth and potential slippage. Remember, a liquidity pool is not a DEX; it's the mechanism underlying DEXs like Raydium, Orca, and Meteora. The AMM formula determines the price, while arbitrage bots keep it aligned with external markets. In summary, liquidity pools are fundamental to decentralized exchanges, offering on-chain mechanisms for swapping tokens, while the trade-off includes risks such as impermanent loss and price impact variations among pools.",
  "summary": "You submit a swap transaction on Solana. No order book, no matching engine, no counterparty wallet. Your tokens hit a program holding reserves of two assets, and that program sends the other token back at a price calculated on the spot. Understanding what is a liquidity pool at this level explains most of what you see on a swap screen, including that price impact warning you might be ignoring.…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}