The Stellar Development Foundation announces the release of a new Go SDK for the Stellar network, featuring horizonclient for Horizon server access and txnbuild for transaction construction. This is the third official SDK alongside JavaScript and Java, designed with Go-specific idioms and improved developer experience.

The Stellar Development Foundation has released a new Go SDK consisting of two main packages: horizonclient, which provides client access to Horizon servers for retrieving ledger information and submitting transactions, and txnbuild, which supports convenient construction of operations and transactions. The new SDK was designed to address limitations in the previous Go Horizon client and transaction building library by adopting a more Go-idiomatic approach that minimizes abstractions and uses expressive structs for configuration. Rather than using the builder pattern common in Java and JavaScript SDKs, the Go SDK leverages Go's struct field configuration capabilities and error handling patterns. The announcement includes code examples demonstrating account creation, transaction building, and submission, along with guidance on when to use each package and resources for developers to get started.