Go to file
kilic 63c14ea4a6 add profile cfg 2020-12-08 11:10:26 +03:00
examples/export_test_keys parameterise test cases 2020-10-05 13:54:38 +03:00
src add public api and ffis 2020-12-01 15:37:10 +03:00
.gitignore add circuit parameter export endpoint for wasm 2020-11-17 13:51:21 +03:00
Cargo.toml add profile cfg 2020-12-08 11:10:26 +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