Skip to content

stellar/go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Stellar

master GitHub workflow GoDoc Go Report Card

This repository contains the official Go SDK for Stellar, maintained by the Stellar Development Foundation.

It provides all the tools developers need to build applications that integrate with the Stellar network, including APIs for Horizon and Stellar RPC, as well as foundational utilities and ingestion libraries for working with raw ledger data.

This repo previously served as the “Go Monorepo” for all SDF Go projects. As of October 2025, it has been refactored to focus exclusively on developer-facing SDK packages. Services that are still maintained have been moved to their own dedicated repositories.

Usage

Run the following command inside your Go project.

go get github.com/stellar/go@latest

Package Index

Package Description
Transaction Builder Builder for creating Stellar transactions and operations
Horizon API Client Client for querying and submitting transactions via a Horizon instance
RPC API Client Client for interacting with a Stellar RPC instance
Ingest SDK Library for parsing raw ledger data from Captive Core, a Galexie Data Lake, or RPC
xdr / strkey Core network primitives and encoding helpers
Processors Library Reusable data abstractions and ETL-style processors

Relocated

The following services have been moved to their own repositories and are no longer built from this SDK:

Service New Repository Description
Horizon stellar-horizon Full-featured API server for querying Stellar network data
Galexie stellar-galexie Ledger exporter that writes network data to external data stores
Friendbot friendbot Stellar's test network native asset faucet

If you build or deploy these services from source, please use their new repositories. Pre-built Debian packages and Docker images continue to be distributed through the same channels.

Deprecated Services

As of tag stellar-go-2025-10-29_10-56-50, several legacy services have been deprecated and removed. They remain available in Git history for archival or fork purposes.

Service Description
Ticker API server providing asset and market statistics
Keystore Encrypted key-management API server
Federation Server Address-lookup service for anchors and financial institutions

Contributing

Contributions are welcome! See CONTRIBUTING.md for more details.

Go Versions Supported

The packages in this repository are tested against the two most recent major versions of Go, because only the two most recent major versions of Go receive security updates.