Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Latest commit

 

History

History
41 lines (26 loc) · 853 Bytes

README.md

File metadata and controls

41 lines (26 loc) · 853 Bytes

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