Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 869 Bytes

File metadata and controls

35 lines (25 loc) · 869 Bytes

libzksnark

a zksnark jni library

Pull source

$ 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

Required

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.

for m1

 cd cpp && mkdir build && cd build
 CC=cc cmake ..
 make