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.
|
|
#!/bin/bash
# if artifacts does not exist, make it if [ ! -d "./artifacts" ]; then mkdir -p ./artifacts fi
# install dependencies yarn
# compile circuit
circom grapevine.circom \
--r1cs \
--wasm \
--prime bn128 \
--output ./artifacts
# cleanup mv ./artifacts/grapevine_js/grapevine.wasm ./artifacts rm -rf ./artifacts/grapevine_js
|