dbc-go SDK provides Go helpers for backend services, indexers, and scripts that need to read DBC state or build common DBC transactions.
The examples on this page do not pass Token 2022 transfer fees. For a base or quote mint with a transfer fee, quote with the TypeScript SDK or the Rust dynamic-bonding-curve-sdk crate, and create the config with create_config2.
Go SDK
Meteora DBC Go SDK source and examples.
Installation
Clone the repository and install dependencies. The localgo.mod uses github.com/gagliardetto/solana-go.

