mirror of
https://github.com/logos-storage/nim-groth16.git
synced 2026-01-08 08:33:08 +00:00
change setup
This commit is contained in:
parent
25937c041f
commit
b220ffdd0f
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ tmp
|
||||
main
|
||||
main.nim
|
||||
*.json
|
||||
nimcache/
|
||||
|
||||
@ -44,7 +44,9 @@ echo '{ "inp": [7,11,13] , "plus": 1022 }' >build/${NAME}_input.json
|
||||
# cd $ORIG/build/${NAME}_js
|
||||
# node generate_witness.js ${NAME}.wasm ../${NAME}_input.json ../${NAME}.wtns
|
||||
# cd $ORIG/build
|
||||
cd $ORIG/circom_build/
|
||||
cp -v $ORIG/circom_build/* $ORIG/build/${NAME}_cpp/
|
||||
cd $ORIG/build/${NAME}_cpp
|
||||
echo "{.compile: \"${NAME}\"}" > ${NAME}.nim
|
||||
nim cpp ${NAME}.nim
|
||||
./${NAME} ../${NAME}_input.json ../${NAME}.wtns
|
||||
cd $ORIG/build
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user