mirror of
https://github.com/logos-storage/circom-goldilocks.git
synced 2026-01-09 08:23:11 +00:00
17 lines
234 B
Bash
Executable File
17 lines
234 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ORIG=`pwd`
|
|
MAIN="testmain"
|
|
INPUT="dummy.json"
|
|
|
|
cd build
|
|
|
|
circom ../${MAIN}.circom --r1cs --wasm
|
|
|
|
echo '{ "dummy": 666 }' >${INPUT}
|
|
|
|
cd ${MAIN}_js
|
|
|
|
node generate_witness.js ${MAIN}.wasm ../${INPUT} witness.wtns
|
|
|
|
cd ${ORIG} |