@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 usesbn.js amounts for token units.
- npm
- pnpm
- yarn
Create A Pool Client
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 unsignedTransaction or an array of unsigned transactions. Your wallet, backend signer, or transaction pipeline must sign and send them.
Development Commands
| Task | Command |
|---|---|
| Install dependencies | cd damm-v1-sdk/ts-client && pnpm install |
| Build SDK | pnpm run build |
| Run SDK tests | pnpm test |
| Run one example | tsx src/examples/<file-name>.ts |
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.

