Skip to main content

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.

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.

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

The lb_clmm program ID is the same on mainnet and devnet:
NetworkProgram ID
Mainnet BetaLBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo
DevnetLBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo

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

TaskCommand
Build SDKcd ts-client && pnpm install && pnpm run build
Run SDK unit testscd ts-client && pnpm run unit-test
Run commons quote testscargo t -p commons --test '*'
Inspect CLI commandscargo build && target/debug/cli --help
Some end-to-end SDK tests may depend on local validator fixtures or program builds that are not part of the public 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.