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.
Network | Program ID |
---|---|
Mainnet | dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN |
Devnet | dbcij3LWUppWqq96dh6gJWwBifmcGfLSB5D4DuSMaqN |
Authority | Address |
---|---|
Pool Authority | FhVo3mqL8PW5pH5U2CN4XE33DokiyZnUwuGpH2hmHLuM |
baseMint
, quoteMint
and dammConfig
.
dammConfig
key for each pool type.
DAMM_V1_MIGRATION_FEE_ADDRESS[i]
in the DBC Typescript SDK.Migration Fee Option | Config Key |
---|---|
0 | 8f848CEy8eY6PhJ3VcemtBDzPPSD4Vq7aJczLZ3o8MmX |
1 | HBxB8Lf14Yj8pqeJ8C4qDb5ryHL7xwpuykz31BLNYr7S |
2 | 7v5vBdUQHTNeqk1HnduiXcgbvCyVEZ612HLmYkQoAkik |
3 | EkvP7d5yKxovj884d2DwmBQbrHUWRLGK6bympzrkXGja |
4 | 9EZYAJrcqNWNQzP2trzZesP7XKMHA1jEomHzbRsdX8R2 |
5 | 8cdKo87jZU2R12KY1BUjjRPwyjgdNjLGqSGQyrDshhud |
DAMM_V2_MIGRATION_FEE_ADDRESS[i]
in the DBC Typescript SDK.Migration Fee Option | Config Key |
---|---|
0 | 7F6dnUcRuyM2TwR8myT1dYypFXpPSxqwKNSFNkxyNESd |
1 | 2nHK1kju6XjphBLbNxpM5XRGFj7p9U8vvNzyZiha1z6k |
2 | Hv8Lmzmnju6m7kcokVKvwqz7QPmdX9XfKjJsXz8RXcjp |
3 | 2c4cYd4reUYVRAB9kUUkrq55VPyy2FNQ3FDL4o12JXmq |
4 | AkmQWebAwFvWk55wBoCr5D62C6VVDTzi84NJuD9H7cFD |
5 | DbCRBj8McvPYHJG1ukj8RE15h2dCNUdTAESG49XpQ44u |
6 | A8gMrEPJkacWkcb3DGwtJwTe16HktSEfvwtuDh2MCtck |
pool_config.migration_quote_threshold
either requires:
pool_config.migration_quote_threshold
requires:
quote_mint
token)