Go to file
Sanaz Taheri Boshrooyeh 94e391d945
Create LICENSE.md
2022-09-14 10:12:34 -07:00
examples/export_test_keys parameterise test cases 2020-10-05 13:54:38 +03:00
src add signal to field function 2021-10-15 12:33:27 +03:00
.gitignore add circuit parameter export endpoint for wasm 2020-11-17 13:51:21 +03:00
Cargo.toml add signal to field function 2021-10-15 12:33:27 +03:00
LICENSE.md Create LICENSE.md 2022-09-14 10:12:34 -07:00
README.md add signal to field function 2021-10-15 12:33:27 +03:00
rust-toolchain add signal to field function 2021-10-15 12:33:27 +03:00

README.md

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