Practical overview
When it fits
Use it when a Java or Android application needs the documented transaction-building APIs or connections to Horizon and Soroban RPC.
Who it is for
- Java developers building applications that construct Stellar transactions.
- Developers connecting Java applications to Horizon or Soroban RPC.
- Android developers assessing the documented SDK integration requirements.
Documented uses
- Add Stellar transaction-building capabilities to a Java application.
- Connect an application to Horizon or Soroban RPC.
- Include the SDK in a Maven or Gradle project, or add its JAR.
- Assess the additional Android integration consideration for platforms below API level 28.
Requirements & limits
The repository is public and identifies the project as open source under the Apache-2.0 license. It documents Maven, Gradle and JAR integration routes.
- The library is specifically for Java application development against Stellar services.
- The repository documents Maven and Gradle dependency declarations and JAR integration.
- Android API level matters: the repository says API level 28 and above needs no additional configuration, while lower levels may need the separate Android SPI.
- The repository links to Javadoc, examples and Stellar developer tutorials for further implementation guidance.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Add Java Stellar SDK to a Java project
Declare the SDK as a project dependency using Maven or Gradle.
Before you start
- A Java project using Maven or Gradle.
Steps
For Maven, add the dependency with group ID network.lightsail, artifact ID stellar-sdk and version 5.0.0.
For Gradle, add implementation 'network.lightsail:stellar-sdk:5.0.0'.
Expected outcome
The SDK is declared as a dependency in the project build configuration.
Guide limitations
- These steps cover dependency declaration, not transaction construction or server connection setup.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 6 October 2026
- Original website title
- lightsail-network/java-stellar-sdk · Official homepage title · retained in its source language

