Go to file
kilic 89440daca1 change input param order 2021-03-23 19:57:07 +03:00
examples/export_test_keys parameterise test cases 2020-10-05 13:54:38 +03:00
src change input param order 2021-03-23 19:57:07 +03:00
.gitignore add circuit parameter export endpoint for wasm 2020-11-17 13:51:21 +03:00
Cargo.toml add get root ffi 2021-03-19 23:50:21 +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