Skip to main content

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.

Dynamic Bonding Curve (DBC) is Meteora’s token launch primitive for creating a virtual reserve pool, trading through a configured bonding curve, and migrating finished pools to DAMM v1 or DAMM v2. To learn more about fee behavior, migration design, and formulas, you can read the following documentations.

Learn more about DBC

Overview of DBC, universal curves, launch configurations, fees, surplus, leftover tokens, and migration.

DBC Formulas

Formulas for price, curve progress, reserves, fees, and migration calculations.

Integration

Program Accounts

Account model for pool configs, virtual pools, vaults, metadata, operators, and migration accounts.

Program Instructions

Instruction families for partners, creators, swaps, migration, fee claims, and operators.

Program Events

Event-CPI payloads for configs, pools, swaps, fee claims, migration, and operator flows.

Program Errors

Anchor custom errors, messages, and common integration causes.

TypeScript SDK

Official TypeScript SDK for config builders, pool creation, quotes, swaps, migration, and state reads.

Rust Integration

Rust quote helpers and program-side integration notes for dynamic_bonding_curve.

Go Integration

Go examples for pool reads, swaps, fee claims, and creator transfer flows.

Program IDs

The dynamic_bonding_curve program ID is the same on mainnet and devnet:
NetworkProgram ID
Mainnet Betadbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN
Devnetdbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN
The pool authority PDA used by the program is:
AuthorityAddress
Pool AuthorityFhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM

DBC Program

Anchor program source for dynamic_bonding_curve.

DBC IDL

Published Anchor IDL used by the TypeScript SDK.

TypeScript SDK

Public SDK for transaction builders, state reads, quotes, curve helpers, PDA helpers, and tests.

Go Examples

Go examples for backend reads, swaps, fee claims, and crfeator transfer flows.

Migration Keepers

Meteora runs migration keepers on mainnet to migrate eligible DBC pools when the bonding curve is complete and the pool has enough quote-side liquidity.
KeeperRequirement
CQdrEsYAxRqkwmpycuTwnMKggr3cr9fqY8Qma4J9TudYpool_config.migration_quote_threshold is 10 SOL, 750 USDC, or 1500 JUP.
DeQ8dPv6ReZNQ45NfiWwS5CchWpB2BVq1QMyNV8L2uSWpool_config.migration_quote_threshold is at least 750 USD worth of quote token.
Migration keepers run on mainnet. The Manual Migrator supports both mainnet and devnet.

DAMM Fee Config Keys

The SDK exposes these arrays as DAMM_V1_MIGRATION_FEE_ADDRESS and DAMM_V2_MIGRATION_FEE_ADDRESS.

DAMM v1

OptionFeeConfig key
025 bps8f848CEy8eY6PhJ3VcemtBDzPPSD4Vq7aJczLZ3o8MmX
130 bpsHBxB8Lf14Yj8pqeJ8C4qDb5ryHL7xwpuykz31BLNYr7S
2100 bps7v5vBdUQHTNeqk1HnduiXcgbvCyVEZ612HLmYkQoAkik
3200 bpsEkvP7d5yKxovj884d2DwmBQbrHUWRLGK6bympzrkXGja
4400 bps9EZYAJrcqNWNQzP2trzZesP7XKMHA1jEomHzbRsdX8R2
5600 bps8cdKo87jZU2R12KY1BUjjRPwyjgdNjLGqSGQyrDshhud

DAMM v2

OptionFeeConfig key
025 bps7F6dnUcRuyM2TwR8myT1dYypFXpPSxqwKNSFNkxyNESd
130 bps2nHK1kju6XjphBLbNxpM5XRGFj7p9U8vvNzyZiha1z6k
2100 bpsHv8Lmzmnju6m7kcokVKvwqz7QPmdX9XfKjJsXz8RXcjp
3200 bps2c4cYd4reUYVRAB9kUUkrq55VPyy2FNQ3FDL4o12JXmq
4400 bpsAkmQWebAwFvWk55wBoCr5D62C6VVDTzi84NJuD9H7cFD
5600 bpsDbCRBj8McvPYHJG1ukj8RE15h2dCNUdTAESG49XpQ44u
6CustomizableA8gMrEPJkacWkcb3DGwtJwTe16HktSEfvwtuDh2MCtck

Commands

TaskCommand
Build TypeScript SDKcd packages/dynamic-bonding-curve && pnpm install && pnpm run build
Run TypeScript SDK testscd packages/dynamic-bonding-curve && pnpm test
Run TypeScript type checkscd packages/dynamic-bonding-curve && pnpm run check-types
Run Rust quote testscd dynamic-bonding-curve && cargo test -p dynamic-bonding-curve-sdk
Run Go examplesgo run examples/<file-name>.go
Run program testsanchor test from the dynamic-bonding-curve repository
Some SDK tests depend on local validator fixtures and deployed program artifacts. For production integrations, simulate transactions and test on devnet before sending mainnet transactions.

Stay Updated

DBC Changelog

Program, IDL, SDK, quote, migration, and validation changes for integration planning.