mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-14 08:57:14 +00:00
RLN
This is the development repo of rate limit nullifier zkSNARK circuits.
For details, see work in progress document here
Test
cargo test --release --features multicore rln_32 -- --nocapture
Generate Test Keys
cargo run --release --example export_test_keys
Wasm Support
### Build
wasm-pack build --release --target=nodejs --scope=rln --out-name=$PACKAGE --out-dir=$PACKAGE_DIR -- --features wasm
Test
With wasm-pack:
wasm-pack test --release --node -- --features wasm
With cargo:
Follow the steps here before running the test, then run:
cargo test --release --target wasm32-unknown-unknown --features wasm
Description
Languages
Nim
98.8%
Shell
0.4%
Makefile
0.2%
Python
0.2%
Groovy
0.2%
Other
0.1%