Skip to content

Go SDK Examples

These examples focus on locally checkable SDK usage and explicit RPC calls. Examples that broadcast transactions require a funded key and an endpoint chosen by the application.

ExampleCovers
Read-Only RPCContext-aware RPC reads and typed results.
Keys And AddressesKey generation, WIF import/export, address parsing, and Carbon address conversion.
Offline VM TransactionScript builder, VM transaction creation, local signing, and hex serialization.
Offline Carbon TransactionCarbon message construction, signing, and signed hex output without broadcast.
Custom Token SchemaSchema JSON parsing and token schema serialization.
Deploy Carbon NFT TokenToken metadata, token info, signed create-token transaction, and result parser.
Mint Carbon NFTDirect Carbon NFT mint and deterministic Phantasma NFT mint helpers.