a zksnark jni library
$ git clone git@github.com:lindaprotocol/zksnark-java-sdk.git --recursive
OR
$ git clone git@github.com:lindaprotocol/zksnark-java-sdk.git
$ git submodule update --init --recursive
cmake (version >= 3.10.2)
cargo
libtool
automake
mvn
jdk8(need JAVA_HOME set)
If make fails to curl ibsodium-1.0.15, download it manually and replace the existing download-libsodium.cmake file with the one linked above in the zksnark-java-sdk/cpp/build/rust/src/libsodium-stamp directory.
cd cpp && mkdir build && cd build
CC=cc cmake ..
make