Skip to main content
Create and manage different types of liquidity pools on Raydium, including AMM V4 (Legacy), Concentrated Liquidity (CLMM), Constant Product (CPMM) pools, and launch tokens using Raydium Launchlab.

Pool Types & Token Launch

1. AMM V4 (Legacy)

  • Requires OpenBook marketID
  • Traditional AMM model
  • Supports standard SPL tokens

2. CLMM (Concentrated Liquidity)

  • Custom liquidity ranges
  • Increased capital efficiency
  • Supports price range specification

3. CPMM (Constant Product)

  • Newest pool type
  • Supports Token-2022 standard
  • No OpenBook market requirement

4. Launchlab Token

  • Token creation platform
  • Built-in token launch capabilities
  • Automatic migration options (AMM/CPMM)
  • Integrated buy functionality

Usage

AMM V4

CLMM

CPMM

Launchlab Token

Example Prompts

Natural Language Prompts

LangChain Tool Prompts

AMM V4

CLMM

CPMM

Launchlab Token

Pool-Specific Details

AMM V4

CLMM

CPMM

Launchlab Token

Implementation Details

Common Features

  • Automatic mint verification
  • Decimal handling
  • Fee configuration
  • Transaction versioning

Pool-Specific Features

  • AMM V4: OpenBook integration
  • CLMM: Tick range management
  • CPMM: Token-2022 support
  • Launchlab: Token creation and launch automation

Launchlab Token Features

  • Token Creation: Generates new token mint with custom parameters
  • Metadata Support: Links to off-chain metadata via URI
  • Migration Options: Automatic pool creation with AMM or CPMM
  • Instant Buy: Optional immediate token purchase upon creation
  • Platform Integration: Supports custom platform IDs
  • Slippage Protection: Configurable slippage tolerance

Error Handling

Best Practices

  1. Pool Type Selection
    • Use CPMM for Token-2022
    • Use CLMM for efficient ranges
    • Use AMM V4 for OpenBook integration
    • Use Launchlab for new token launches
  2. Initial Liquidity
    • Calculate appropriate amounts
    • Consider token decimals
    • Monitor price impact
    • Verify token balances
  3. Configuration
    • Set appropriate fees
    • Choose tick spacing
    • Plan start time
    • Consider trading volume
  4. Launchlab Token Setup
    • Prepare metadata JSON with proper schema
    • Choose appropriate decimals (6-9 recommended)
    • Set realistic initial supply
    • Configure migration type based on use case
    • Test with small buy amounts first
  5. Security
    • Validate all addresses
    • Check token programs
    • Verify configurations
    • Monitor transactions
    • Secure metadata hosting

Common Issues

  1. Setup Issues
    • Invalid market ID
    • Insufficient liquidity
    • Wrong token program
    • Incorrect decimals
    • Missing metadata URI
  2. Transaction Failures
    • Network congestion
    • Invalid parameters
    • Configuration errors
    • Insufficient funds
    • Slippage exceeded
  3. Permission Issues
    • Missing approvals
    • Wrong signers
    • Invalid authority
    • Program restrictions
  4. Launchlab Specific Issues
    • Invalid metadata format
    • Unreachable URI
    • Configuration mismatch
    • Platform ID errors
    • Supply calculation errors

Metadata Schema for Launchlab Tokens

Common Token Addresses

  • USDC: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
  • SOL: So11111111111111111111111111111111111111112
  • USDT: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB
  • RAY: 4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R

Migration Types

AMM Migration

  • Creates traditional AMM pool
  • Suitable for most use cases
  • Higher liquidity requirements
  • OpenBook market integration

CPMM Migration

  • Creates constant product pool
  • Lower barriers to entry
  • Token-2022 support
  • No market ID requirement
  • Faster setup process