Go Swan SDK
Last updated
Last updated
This guide details the steps needed to install or update the SWAN SDK for Go. The SDK is a comprehensive toolkit designed to facilitate seamless interactions with the SwanChain API.
Go Version
go-swan-sdk
requires version or above.
Swan API Key
To use swan-sdk
, an Swan API key is required. Steps to get an API Key:
Go to , switch network to .
Login with your wallet.
Click API Keys
-> Generate API Key
Using go-swan-sdk
With , go [build|run|test]
automatically fetches the necessary dependencies when you add import
in your project:
To update the SDK use go get -u
to retrieve the latest version of the SDK:
To use go-swan-sdk
, you must first import it, and you can create and deploy instance applications quickly.