#!/bin/sh echo "testdata/small/circuit.circom" cd testdata/small echo "compiling circuit" circom circuit.circom -r1cs --wasm --sym echo "generating setup" snarkjs setup echo "calculating witness" snarkjs calculatewitness --wasm circuit.wasm --input input.json --witness witness.json echo "\ntestdata/big/circuit.circom" cd ../big echo "compiling circuit" circom circuit.circom -r1cs --wasm --sym echo "generating setup" snarkjs setup echo "calculating witness" snarkjs calculatewitness --wasm circuit.wasm --input input.json --witness witness.json