Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
title
Overview

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

Horizon SDK

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

List of major SDK packages

  • horizonclient (source, docs) - programmatic client access to Horizon
  • txnbuild (source, docs) - construction, signing and encoding of Stellar transactions and operations
  • stellartoml (source, docs) - parse Stellar.toml files from the internet
  • federation (source) - resolve federation addresses into stellar account IDs, suitable for use within a transaction