mirror of https://github.com/vacp2p/zerokit.git
c401c0b21d | ||
---|---|---|
.. | ||
resources | ||
src | ||
Cargo.toml | ||
README.md |
README.md
RLN for WASM
This library is used in waku-org/js-rln
Building the library
- Make sure you have nodejs installed and the
build-essential
package if using ubuntu. - Install wasm-pack
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- Compile zerokit for
wasm32-unknown-unknown
:
cd rln-wasm
wasm-pack build --release
Running tests
cd rln-wasm
wasm-pack test --node --release