Typescript SDK
Getting Started
DAMM v2
This guide provides instructions on how to get started with the DAMM v2 TypeScript SDK.
Before you begin, here are some important resources:
- Program ID (Mainnet & Devnet):
cpamdpZCGKUy5JxQXB4dcpGPiikHawvSWAd6mEn1sGG
- Program Repository: DAMM v2
- TypeScript SDK Repository: @meteora-ag/cp-amm-sdk
Installation
To use the SDK in your project, install it using your preferred package manager:
Initialization
Once installed, you can initialize the SDK in your TypeScript/JavaScript project like this:
Testing the SDK (for contributors)
If you have cloned the SDK repository and want to run the built-in tests: