/stellar-xdr-jre

Stand-alone Java serde generated from Stellar XDR definitions

Primary LanguageJava

Stellar XDR JRE

A cleaned up copy of sources generated by xdrgen.

How to use

Follow the guide on jitpack to import the library into your own project.

How to generate a new version

  1. Install xdrgen if necessary
  2. Update stellar-core to obtain the latest XDR definitions
  3. Execute xdrgen in the root of this project against the stellar-core XDR definitions: xdrgen -o src/main/java/org/stellar/xdr/ -l java -n org.stellar.xdr ../stellar-core/src/xdr/*
  4. Execute "reformat code" in IntelliJ across the entire package.
  5. Update the version of this project in build.sbt to match the stellar-core tag.
  6. Tag and push