2026-01-15 17:03:22 +01:00
|
|
|
|
|
|
|
|
create test input data for `rln-fast`
|
|
|
|
|
-------------------------------------
|
|
|
|
|
|
2026-01-16 12:21:49 +01:00
|
|
|
### Generating test input for the RLN circuit
|
|
|
|
|
|
2026-01-15 17:03:22 +01:00
|
|
|
Quickstart:
|
|
|
|
|
|
2026-01-16 12:21:49 +01:00
|
|
|
$ nimble build -d:release cli
|
2026-01-15 17:03:22 +01:00
|
|
|
$ ./cli --help
|
|
|
|
|
|
2026-01-15 17:54:15 +01:00
|
|
|
Examples:
|
2026-01-15 17:03:22 +01:00
|
|
|
|
2026-01-15 17:54:15 +01:00
|
|
|
$ ./cli -v --merkle_depth=18 --limit_bits=12 --circom=main.circom --output=input.json --partial=partial.json
|
|
|
|
|
$ ./cli -v -d=16 -b=10 --output=tmp/input.json --partial=tmp/partial.json
|
2026-01-16 12:21:49 +01:00
|
|
|
|
|
|
|
|
### Testing the two-step prover
|
|
|
|
|
|
|
|
|
|
$ nimble build -d:release prover_cli
|
|
|
|
|
$ ./prover_cli --help
|
|
|
|
|
|
|
|
|
|
Exmaple
|
|
|
|
|
|
|
|
|
|
$ DIR=<...> ./prover_cli -i=$DIR/input.json -p=$DIR/partial.json -g=$DIR/rln_main.graph -z=$DIR/rln_main.zkey
|