SDKs

Learn how to build blockchain applications using the Bantu SDK.

Introduction

As mentioned before, the Bantu blockchain is a private permissioned fork of the Stellar blockchain. All Stellar SDKs work with the Bantu blockchain. You only need to change two things when using the Stellar SDKs on the Bantu blockchain: horizon endpoints and network passphrases.

Horizon Endpoints:

  • https://expansion-testnet.bantu.network for testnet, and
  • https://expansion.bantu.network for mainnet.

Network PassPhrases:

  • Bantu Testnet for testnet, and
  • Public Bantu Network ; 10-10-2020 for mainnet.

Stellar SDKs

There are a wide variety of Stellar SDKs, which means you can interact with the network in your language of choice. They’re all open source, so if you have a question, suggestion, or contribution to make, you can file a Github issue or pull request in the relevant SDK repository.

Each SDK has its own source code and documentation, and we’ve linked to both in the list below. Often, the best place to find out how to use a given SDK is to check the documentation specific to it. Most offer practical examples that demonstrate how to construct and submit transactions and interact with Horizon endpoints.

Javascript

Java

Go

The Go SDK is split up into a few separate packages, all of which you can find in the Go monorepo README. The two key libraries for interacting with Horizon are txnbuild, which enables the construction, signing, and encoding of Bantu transactions, and horizonclient, which provides a web client for interfacing with Horizon server REST endpoints to retrieve ledger information and submit transactions built with txnbuild.

Python

C# .NET

Ruby

iOS

Scala

Qt/C++

Flutter