Overview  [Go SDK]

The Go SDK is a set of packages for interacting with most aspects of the DigitalBits ecosystem. The primary component is the Frontier SDK, which provides convenient access to Frontier services. There are also packages for other DigitalBits services such as TOML support and federation.

Frontier SDK

The Frontier SDK is composed of two complementary libraries: txnbuild + frontierclient. The txnbuild (source, docs) package enables the construction, signing and encoding of DigitalBits transactions and operations in Go. The frontierclient (source, docs) package provides a web client for interfacing with Frontier server REST endpoints to retrieve ledger information, and to submit transactions built with txnbuild.

List of major SDK packages

  • frontierclient (source, docs) - programmatic client access to Frontier
  • txnbuild (source, docs) - construction, signing and encoding of DigitalBits transactions and operations
  • digitalbitstoml (source, docs) - parse DigitalBits.toml files from the internet
  • federation (source) - resolve federation addresses into digitalbits account IDs, suitable for use within a transaction

Edit this doc in GitHub

THE FUTURE OF LOYALTY STARTS HERE

Stay up to date on the latest happenings at DigitalBits. Get the latest news.