diff --git a/sr25519/readme.md b/sr25519/readme.md index 110ae16..aec0d1b 100644 --- a/sr25519/readme.md +++ b/sr25519/readme.md @@ -1,7 +1,14 @@ To build sr25519 C++ wrapper, get it from https://github.com/Warchant/sr25519-crust, + + git clone https://github.com/Warchant/sr25519-crust + then -cmake .. -DCMAKE_BUILD_TYPE=Release -DTESTING=OFF -DBUILD_SHARED_LIBS=FALSE + + cmake .. -DCMAKE_BUILD_TYPE=Release -DTESTING=OFF -DBUILD_SHARED_LIBS=FALSE + then -make -then copy libsr25519crust.a to the folder sr25519/cpp (same as jnimain.cpp) + + make + +then copy `libsr25519crust.`a to the folder `sr25519/cpp/` (next to `jnimain.cpp`)