@meteora-ag/dynamic-bonding-curve-sdk 2.0.0 or later. That package matches program 0.2.2, including Token 2022 transfer fees on the base and quote mints.
Before you begin, here are the main resources:
TypeScript SDK
SDK source, tests, IDLs, services, math helpers, and package metadata.
NPM Package
Published package for DBC TypeScript integrations.
Installation
Install the SDK and its Solana dependencies:- npm
- pnpm
- yarn
- bun
Initialization
Create a client from a Solana connection and commitment:commitment defaults to confirmed when you omit it. Curve, fee, and transfer-fee math is a separate import:
Program ID
The SDK defaults to the public DBC program ID on both mainnet and devnet: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 DBC.
Transfer Hooks
Build Token 2022 transfer-hook configs, pools, swaps, claims, and state reads.
Testing The SDK
The local package scripts usepnpm in the repository root and package scripts in packages/dynamic-bonding-curve.
Faucets
Devnet Faucet
Request test SOL for devnet integration testing.

