Defi Integrations
Meteora Pool Creation
Learn how to create DLMM and Dynamic AMM pools with Meteora
Solana Agent Kit provides integration with Meteora for creating two types of liquidity pools:
- DLMM (Dynamic Liquidity Market Maker) Pools
- 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
-
Bin Steps (DLMM)
- Lower bin steps mean tighter price ranges
- Common values: 10, 20, 50
- Affects price precision and liquidity distribution
-
Price Configuration
- Initial price is in token A / token B ratio
- Price rounding affects bin placement
- Consider market prices when setting initial price
-
Fee Structure
- DLMM: fees in basis points (1 bp = 0.01%)
- Dynamic: fee numerator with 100000 denominator
- Consider market standards when setting fees
-
Activation Types
Best Practices
-
Token Decimals
-
Price Calculation
-
Amount Conversion
Error Handling
Technical Details
Constants
Fee Calculations
SDK Dependencies
Was this page helpful?