Creating Pools

🏗️ Creating Pools on XDEX

XDEX supports permissionless liquidity pool creation through its standard AMM program (CP-Swap), which uses the Constant Product Market Maker (CPMM) model and is fully compatible with Token-2022 assets.

Anyone can create a pool — no approval or listing process required.


⚙️ Key Requirements for Pool Creation

🪙 SPL Token Standards

  • Ensure freeze authority is disabled for all tokens in the pool

🧩 Token-2022 Extensions Supported

  • Transfer Fees

  • Metadata Pointer

  • Metadata

🆔 AMM ID Assignment

  • Each new pool receives a unique AMM ID used for discovery and tracking

🏦 Initial Liquidity Allocation

  • A portion of your liquidity is locked in pool vaults to ensure trading viability

  • LP tokens are minted based on your contribution and can be burned later to reclaim assets and rewards


🚀 How to Create a Pool on XDEX

1️⃣ Access the Pool Creation Tool

  • Navigate to the Liquidity section

  • Click "Create Pool"


2️⃣ Configure Your Pool Settings

📈 Starting Price

Set the number of Quote Tokens needed to purchase 1 Base Token (e.g., how many USDC per 1 XNT).

💧 Initial Liquidity

  • Enter the amount for either the Base or Quote token

  • The system will auto-calculate the matching token amount using your starting price

  • Ensure your wallet holds enough tokens and $XNT to cover the initial liquidity and fees

🔒 Note: Once the pool is initialized, starting price, liquidity, and launch time cannot be changed.


3️⃣ Confirm and Approve

  • Approve the transaction in your wallet to:

    • ✅ Initialize the pool

    • ✅ Deposit initial liquidity


4️⃣ Pool Completion

  • After confirmation, the pool is created and assigned a unique AMM ID

  • It becomes immediately active for swaps and liquidity provisioning


🔍 Helping Users Discover Your Pool

  • Users can search by token mint address and add it to their personal token list

  • Useful for new or custom tokens not yet on the default token list

🔹 Share Your AMM ID

  • Share your AMM ID with users so they can easily locate your pool on the Liquidity page


📊 Monitoring and Managing Your Pools

  • Visit the "Pools" page anytime to view, manage, or add more liquidity to your created pools

  • LP balances and pool performance update in real-time


💡 Tips for Successful Pool Creation

Verify Token Details

  • Double-check mint addresses and metadata before launching — incorrect token pools are irreversible

Ensure Sufficient Funds

  • Make sure your wallet has enough tokens and $XNT to initialize the pool and pay gas

Set a Realistic Starting Price

  • Use market-aligned values to improve trader confidence and attract early liquidity

Last updated