Go to file
kilic ae5f8859c6 add circuit parameter export endpoint for wasm 2020-11-17 13:51:21 +03:00
examples/export_test_keys parameterise test cases 2020-10-05 13:54:38 +03:00
src add circuit parameter export endpoint for wasm 2020-11-17 13:51:21 +03:00
.gitignore add circuit parameter export endpoint for wasm 2020-11-17 13:51:21 +03:00
Cargo.toml add js verifier key exporter 2020-10-28 19:13:32 +03:00
README.md expose raw vk only 2020-11-02 18:43:56 +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