Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions sr25519/readme.md
Original file line number Diff line number Diff line change
@@ -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`)