DLMM is Meteora’s high-performance concentrated liquidity product on Solana. To learn more about DLMM such as LP strategy concepts, and economic explanations, you can read the following documentations.Documentation Index
Fetch the complete documentation index at: https://docs.meteora.ag/llms.txt
Use this file to discover all available pages before exploring further.
Learn more about DLMM
Overview of DLMM, strategies, dynamic positions, limit orders, rewards, and fee concepts.
DLMM Formulas
Formulas and definitions for price, liquidity, fee, and impermanent loss concepts.
Integration
Program Accounts
Account model for pools, bin arrays, positions, limit orders, oracles, presets, and operators.
Program Instructions
Instruction families for pool creation, liquidity, swaps, rewards, limit orders, and admin flows.
Program Events
Event-CPI payloads for pools, positions, liquidity, swaps, fees, rewards, rebalance, and limit order flows.
Program Errors
Anchor custom error codes, enum names, messages, and instruction error mapping.
TypeScript SDK
TypeScript SDK for interacting with all instructions on DLMM.
Rust Integration
Rust integration with DLMM through CPI and the commons library.
DLMM APIs
Indexed read-only pool, portfolio, wallet, position, OHLCV, stats, and limit order data.
Program IDs
Thelb_clmm program ID is the same on mainnet and devnet:
| Network | Program ID |
|---|---|
| Mainnet Beta | LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo |
| Devnet | LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo |
DLMM IDL
Anchor IDL for the deployed
lb_clmm program.DLMM SDK
SDK for interacting with all instructions on DLMM.
The
lb_clmm on-chain program source is not open sourced. Public developer integration should rely on the published IDL, the official TypeScript SDK, on-chain account data, and the DLMM Data API. If you have any questions, please reach out to us on Discord.Commands
| Task | Command |
|---|---|
| Build SDK | cd ts-client && pnpm install && pnpm run build |
| Run SDK unit tests | cd ts-client && pnpm run unit-test |
| Run commons quote tests | cargo t -p commons --test '*' |
| Inspect CLI commands | cargo build && target/debug/cli --help |
lb_clmm source release. Prefer devnet scripts and transaction simulation for public integration testing.
Stay Updated
DLMM Changelog
Program, SDK, CLI, and commons changes for integration planning.

