Skip to main content
The 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 local go.mod uses github.com/gagliardetto/solana-go.

Repository Map

Run Examples

Before running examples, configure the keypairs, RPC endpoint, and public keys required by the file.

Examples

Helper Surface