This guide shows how to install and initialize the official DLMM TypeScript SDK,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.
@meteora-ag/dlmm.
Before you begin, here are some important resources:
TypeScript SDK
Meteora DLMM TypeScript SDK
DLMM NPM Package
Meteora DLMM NPM Package
Installation
To use the SDK in your project, install it using your preferred package manager:- npm
- pnpm
- yarn
Initialization
Once installed, initialize a pool client with a Solana connection and a DLMM pool address:Cluster And Program ID
The SDK defaults to the public DLMM program ID:opt when using devnet or a custom program ID:
Reference
SDK Examples
Explore full transaction flows, including pool initialization, swaps, liquidity, and more.
SDK Reference
Learn about all SDK functions: pool creation, liquidity, swaps, rewards, limit orders, and Token-2022 helpers.
Testing The SDK
If you have cloned the SDK repository, start with package-level checks:commons, CLI, scripts, and broader repository testing notes, see the DLMM overview.
Faucets
Devnet Faucet
When working on devnet, you might need test tokens. Here is a helpful faucet.

