This guide shows how to install and initialize the official DAMM v2 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/cp-amm-sdk.
Before you begin, here are the main resources:
TypeScript SDK
Public SDK source, examples, tests, and generated
cp_amm IDL.NPM Package
Published
@meteora-ag/cp-amm-sdk package.Installation
To use the SDK in your project, install it with your preferred package manager:- npm
- pnpm
- yarn
Initialization
Program ID
The SDK uses the public DAMM v2 program ID by default:Reference
SDK Examples
Explore full transaction flows, including pool initialization, swaps, liquidity, and more.
SDK Reference
Access the full method map, PDA helpers, and fee helpers for DAMM v2.
Testing the SDK
The SDK repository includes Vitest and Bankrun tests. They use the SDK source and a local program fixture, so they are best for SDK contributors and regression testing. App integrators should also test against devnet or their own local validator flow before shipping transaction code.Faucets
Devnet Faucet
Use this when your devnet test wallet needs SOL for fees and rent.

