This Java wrapper currently requires Java 8 (e.g. the openjdk-8-jdk package in Debian/Ubuntu).
Pull requests welcome!
Not ready for production use! Not all commands work properly! Use at your own risk!
In your maven project add to pom.xml file next content:
-
Inside repositories tag block add:
evernym https://repo.evernym.com/artifactory/libindy-maven-local -
Inside dependencies tag block add:
org.hyperledger indy 1.3.1-dev-410
Note that before you can use java wrapper you must install c-callable SDK. See the section "How-to-install" in Indy SDK
First, build the native "indy" library at https://github.com/hyperledger/indy-sdk:
cargo build
Then copy the resulting libindy.so
to ./lib/
.
Then run
mvn clean install
Use environment variable RUST_LOG={info|debug|trace}
to output logs of Libindy.