Home

Awesome

java-stellar-sdk

Test and Deploy Maven Central Version javadoc

The Java Stellar SDK library provides APIs to build transactions and connect to Horizon and Soroban-RPC Server.

Installation

Apache Maven

<dependency>
    <groupId>network.lightsail</groupId>
    <artifactId>stellar-sdk</artifactId>
    <version>1.0.0</version>
</dependency>

Gradle

implementation 'network.lightsail:stellar-sdk:1.0.0'

You can find instructions on how to install this dependency using alternative package managers here.

JAR

Download the latest jar from the GitHub repo's releases tab. Add the jar package to your project according to how your environment is set up.

Basic Usage

For some examples on how to use this library, take a look at the Get Started docs in the developers site.

Documentation

Javadoc is available at https://javadoc.io/doc/network.lightsail/stellar-sdk

Examples

This repository contains a number of helpful examples. You can find them in the examples directory.

Integrate into Android project

If you want to integrate this SDK on Android platforms with API level 28 and above, you don't need any additional configuration. However, if you need to include it on lower platforms, you may also need to add the Java Stellar SDK Android SPI.

Contributing

For information on how to contribute, please refer to our contribution guide.

License

java-stellar-sdk is licensed under an Apache-2.0 license. See the LICENSE file for details.