Skip to main content
This content applies to WaaS 1.0 only. We highly recommend that you upgrade to WaaS 2.0.

Overview

This guide introduces Cobo WaaS API in Go SDK, enabling developers to integrate with Cobo’s Custodial/MPC services seamlessly using the Go programming language.

Before You Begin

  • Ensure that you have created an account and configured Cobo’s Custodial/MPC services. For detailed instructions, please refer to the Quickstart guide.
  • To access the API documentation, navigate to the API references section.

Using the Cobo Go SDK

GitHub

The Official Go SDK for Cobo WaaS API.

Requirements

Go 1.18 or newer.

Installation

add dependency

Code Sample

Generate Key Pair

For more information on the API key, please click here.

Initialize ApiSigner

ApiSigner can be instantiated through
In some cases, your private key cannot be exported, for example, your private key is in aws kms, you should pass in your own implementation by implements ApiSigner interface

Initialize RestClient

Custodial Wallet Sample

MPC Wallet Sample

Handling Response

Handling API Errors