arnaucube
arnaucube/circom-compatPublic Self-hosted repository
circom-compat/test-vectors/complex-circuit/prove.sh
test-vectors/complex-circuit/prove.shRaw
1NUM_VARIABLES=$1
2NUM_CONSTRAINTS=$2
3
4snarkjs wtns calculate complex-circuit-$NUM_VARIABLES-$NUM_CONSTRAINTS.wasm input.json witness.wtns
5snarkjs groth16 prove complex-circuit-$NUM_VARIABLES-$NUM_CONSTRAINTS.zkey witness.wtns proof.json public.json
6snarkjs zkey export verificationkey complex-circuit-$NUM_VARIABLES-$NUM_CONSTRAINTS.zkey
7snarkjs groth16 verify verification_key.json proof.json public.json
8