Go to file
kilic 097f512237 add new circuit gen endpoint
add verifier key export endpoint
2020-11-02 13:23:42 +03:00
examples/export_test_keys parameterise test cases 2020-10-05 13:54:38 +03:00
src add new circuit gen endpoint 2020-11-02 13:23:42 +03:00
.gitignore update gitignore, readme 2020-06-13 22:44:22 +03:00
Cargo.toml add js verifier key exporter 2020-10-28 19:13:32 +03:00
README.md add new circuit gen endpoint 2020-11-02 13:23:42 +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 --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