Before getting started building on DBC, you should read the following resource to get a better understanding of how Meteora’s DBC works:

DBC Program

At Meteora, we’ve developed a Node.js <> Typescript SDK, a Rust SDK and a Go SDK to make deploying and managing your DBC virtual pool easier. The following sections includes information on installing and using the SDKs. It also covers where to find the latest code, and how to contribute to these repositories.

Program Details

NetworkProgram ID
Mainnetdbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN
Devnetdbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN
AuthorityAddress
Pool AuthorityFhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM

Official SDKs


Migration

DBC pools can be migrated to either a DAMM v1 or DAMM v2 pool. The DAMM v1 and DAMM v2 pools are both derived from the baseMint, quoteMint and dammConfig.

DAMM Fee Config Keys

The following section depicts the dammConfig key for each pool type.

DAMM v1 Migration Fee Config Keys:

Accessible via DAMM_V1_MIGRATION_FEE_ADDRESS[i] in the DBC Typescript SDK.
Migration Fee OptionConfig Key
08f848CEy8eY6PhJ3VcemtBDzPPSD4Vq7aJczLZ3o8MmX
1HBxB8Lf14Yj8pqeJ8C4qDb5ryHL7xwpuykz31BLNYr7S
27v5vBdUQHTNeqk1HnduiXcgbvCyVEZ612HLmYkQoAkik
3EkvP7d5yKxovj884d2DwmBQbrHUWRLGK6bympzrkXGja
49EZYAJrcqNWNQzP2trzZesP7XKMHA1jEomHzbRsdX8R2
58cdKo87jZU2R12KY1BUjjRPwyjgdNjLGqSGQyrDshhud

DAMM v2 Migration Fee Config Keys:

Accessible via DAMM_V2_MIGRATION_FEE_ADDRESS[i] in the DBC Typescript SDK.
Migration Fee OptionConfig Key
07F6dnUcRuyM2TwR8myT1dYypFXpPSxqwKNSFNkxyNESd
12nHK1kju6XjphBLbNxpM5XRGFj7p9U8vvNzyZiha1z6k
2Hv8Lmzmnju6m7kcokVKvwqz7QPmdX9XfKjJsXz8RXcjp
32c4cYd4reUYVRAB9kUUkrq55VPyy2FNQ3FDL4o12JXmq
4AkmQWebAwFvWk55wBoCr5D62C6VVDTzi84NJuD9H7cFD
5DbCRBj8McvPYHJG1ukj8RE15h2dCNUdTAESG49XpQ44u
6A8gMrEPJkacWkcb3DGwtJwTe16HktSEfvwtuDh2MCtck

Migration Keeper

We run 2 migration keepers to automatically migrate DBC pools to DAMM pools.
The Migration Keepers only runs on Mainnet.
Keeper addresses that we are running:
  1. CQdrEsYAxRqkwmpycuTwnMKggr3cr9fqY8Qma4J9TudY
  • pool_config.migration_quote_threshold either requires:
    • 10 SOL
    • 750 USDC
    • 1500 JUP
  1. DeQ8dPv6ReZNQ45NfiWwS5CchWpB2BVq1QMyNV8L2uSW
  • pool_config.migration_quote_threshold requires:
    • >= 750 USD (quote_mint token)

Manual Migrator

We have also created a Manual Migrator user interface that allows you to manually migrate your DBC pool to a DAMM pool.
The Manual Migrator runs on both Mainnet and Devnet.
Depending on your DBC Config Key, the migration process will require you to sign more than one transaction to call each instruction.