rln-wasm
v0.1.0
Published
This is the development repo of rate limit nullifier zkSNARK circuits.
Downloads
13
Readme
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