Skip to content

posplaw/java-stellar-sdk

 
 

Repository files navigation

java-stellar-sdk

Build Status

The Java Stellar Sdk library provides APIs to build transactions and connect to Horizon.

Installation

Maven

Use jitpack.io's Maven repository:

repositories {
    maven { url "https://jitpack.io" }
}

dependencies {
    implementation 'com.github.stellar:java-stellar-sdk:{version}'
}

The list of versions to install can be found in the Releases section. More information can be found in jitpack.io docs.

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://stellar.github.io/java-stellar-sdk

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.

xdr to jave code generation

All the java source files in org.stellar.sdk.xdr package are generated using the xdrgen command from the stellar/xdrgen

xdrgen -o ./src/main/java/org/stellar/sdk/xdr -l java -n org.stellar.sdk.xdr ./xdr/Stellar-types.x ./xdr/Stellar-SCP.x ./xdr/Stellar-overlay.x ./xdr/Stellar-ledger-entries.x ./xdr/Stellar-ledger.x ./xdr/Stellar-transaction.x

Packages

No packages published

Languages

  • Java 97.0%
  • RPC 3.0%