SDK installation
To use the CCTP SDK in your Go applications, install it usinggo get:
CLI installation
The CLI tool can be installed directly usinggo install:
Make sure the path where Go builds executables is in your
PATH variable. This is typically $GOPATH/bin or $HOME/go/bin.Verify installation
Verify the CLI is installed correctly:Building from source
If you prefer to build from source or want to contribute:Build the CLI binary
You can use Task or build directly with Go:
Available build tasks
If you have Task installed, you can use these convenient commands:CLI wallet setup
To use the CLI, you need your wallet’s private key stored in the Geth keystore format.Keystore location
By default, the CLI looks for keystore files in the standard Geth keystore directory. You can specify a custom directory with the--keystore flag:
Dependencies
The SDK relies on several key dependencies:- ethereum/go-ethereum v1.17.0 - Ethereum client and contract bindings
- spf13/cobra v1.10.1 - CLI framework
- charmbracelet/bubbletea v1.3.10 - Terminal UI framework
All dependencies are automatically installed when you run
go get or go mod download.Next steps
Quickstart
Execute your first USDC transfer
CLI usage
Learn how to use the CLI tool
SDK guide
Integrate CCTP into your Go application