Skip to main content

Interact with Contracts

JavaScript SDK

stellar-sdk is the JavaScript library for communicating with a Soroban RPC server, communicating with the Horizon API, and building transactions on the Stellar network. It is used for building Stellar apps either on Node.js or in the browser.

It provides:

  • a networking layer API for Soroban RPC methods and the Horizon API.
  • facilities for building and signing transactions, for communicating with an RPC instance, for communicating with a Horizon instance, and for submitting transactions or querying network state.

The SDK is available at: https://github.com/stellar/js-stellar-sdk and on NPM here.

Python SDK

py-stellar-base is a Python library for communicating with a Stellar Horizon server. It is used for building Stellar apps on Python. It supports Python 3.7+ as well as PyPy 3.7+.

This SDK is maintained by a dedicated community developer.

It provides:

  • a networking layer API for Horizon endpoints.
  • facilities for building and signing transactions, for communicating with a Stellar Horizon instance, and for submitting transactions or querying network history.

The Python SDK is available at: https://github.com/StellarCN/py-stellar-base

iOS SDK

The stellar-ios-mac-sdk is an open source Stellar SDK for iOS & Mac. It provides APIs to build transactions and connect to Horizon.

It also provides functionality to deploy and invoke Soroban smart contracts and communicates with the Soroban RPC Server.

The iOS Stellar SDK is maintained by dedicated community developer, Soneso.

The SDK documentation for Soroban features is available here.

Flutter SDK

The stellar-flutter-sdk is an open source Stellar SDK for Flutter developers. It provides APIs to build transactions and connect to Horizon.

It also provides functionality to deploy and invoke Soroban smart contracts and communicates with the Soroban RPC Server.

The Flutter Stellar SDK is maintained by dedicated community developer, Soneso.

The SDK documentation for Soroban features is available here.

PHP SDK

The stellar-php-sdk is an open source Stellar SDK for PHP developers. It provides APIs to build transactions and connect to Horizon.

It also provides functionality to deploy and invoke Soroban smart contracts and communicates with the Soroban RPC Server.

The PHP Stellar SDK is maintained by dedicated community developer, Soneso.

The SDK documentation for Soroban features is available here.

Elixir SDK

Soroban.ex is an open source library for Elixir to interact with the Soroban-RPC server, and facilitate the deployment and invocation of Soroban smart contracts.

The Elixir SDK (Soroban.ex) can be found on GitHub at https://github.com/kommitters/soroban.ex.

This SDK is maintained by dedicated community developers, kommitters Open Source.

Documentation is available at https://github.com/kommitters/soroban.ex#documentation.

Java SDK

java-stellar-sdk provides APIs to build transactions and connect to Horizon, it also provides functionality to deploy and invoke Soroban smart contracts and communicates with the Soroban RPC Server.

SDK is available at: https://github.com/stellar/java-stellar-sdk