Skip to main content
The DAMM v1 TypeScript SDK is published as @meteora-ag/dynamic-amm-sdk. It wraps pool state reads, Dynamic Vault reads, quote math, transaction builders, pool creation helpers, config reads, and LP lock flows.

DAMM v1 SDK Repository

Source for the TypeScript SDK, examples, Rust quote crate, Rust helpers, and CLI.

NPM Package

Published @meteora-ag/dynamic-amm-sdk package.

Installation

Install the SDK with Solana Web3. The package uses bn.js amounts for token units.

Create A Pool Client

Use cluster: "devnet" when working against devnet. The DAMM v1 program ID is the same on mainnet and devnet:

Load Multiple Pools

createMultiple batches pool, vault, LP mint, token account, clock, and depeg account reads.

Transactions Are Unsigned

Most SDK methods return an unsigned Transaction or an array of unsigned transactions. Your wallet, backend signer, or transaction pipeline must sign and send them.

Development Commands

Some examples in the repository expect a local keypair and hard-coded devnet or mainnet pool addresses. Replace RPC URLs, pool addresses, mint addresses, and signer loading before reusing them in an application.

Next Steps

Examples

Practical TypeScript patterns for pool reads, quotes, swaps, deposits, withdrawals, pool creation, and locks.

Reference

SDK exports, constants, public methods, helper functions, types, and integration notes.