Skip to main content
Solana Agent Kit provides integration with Meteora for creating two types of liquidity pools:
  1. DLMM (Dynamic Liquidity Market Maker) Pools
  2. Dynamic AMM (Automated Market Maker) Pools

Key Features

  • DLMM pool creation with configurable bin steps
  • Dynamic AMM pool creation with constant product formula
  • Customizable trading fees
  • Delayed activation support
  • Alpha vault integration
  • Price rounding options
  • LangChain tool integration

Pool Types

DLMM Pools

DLMM pools use a bin-based liquidity provision system with configurable price ranges.

Dynamic AMM Pools

Dynamic AMM pools use a constant product formula with initial liquidity.

Configuration Options

DLMM Pool Parameters

Dynamic Pool Parameters

LangChain Integration

Solana Agent Kit provides LangChain tools for both pool types:

DLMM Pool Creation Tool

Dynamic Pool Creation Tool

Example Prompts

For LangChain AI tools, here are example prompts:

DLMM Pool Creation

Dynamic Pool Creation

Important Notes

  1. Bin Steps (DLMM)
    • Lower bin steps mean tighter price ranges
    • Common values: 10, 20, 50
    • Affects price precision and liquidity distribution
  2. Price Configuration
    • Initial price is in token A / token B ratio
    • Price rounding affects bin placement
    • Consider market prices when setting initial price
  3. Fee Structure
    • DLMM: fees in basis points (1 bp = 0.01%)
    • Dynamic: fee numerator with 100000 denominator
    • Consider market standards when setting fees
  4. Activation Types

Best Practices

  1. Token Decimals
  2. Price Calculation
  3. Amount Conversion

Error Handling

Technical Details

Constants

Fee Calculations

SDK Dependencies