You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
244 B

#!/bin/bash
# rm previous files
rm -r ./circuit/keccak-chain_js
rm circuit/keccak-chain.r1cs
rm circuit/keccak-chain.sym
cd circuit
npm install
cd ..
circom ./circuit/keccak-chain.circom --r1cs --sym --wasm --prime bn128 --output ./circuit/