nim-groth16/example/example.nim
2023-11-11 14:37:31 +01:00

12 lines
305 B
Nim

import ../test_proof
import ../export_json
let zkey_fname : string = "./build/product.zkey"
let wtns_fname : string = "./build/product.wtns"
let proof = testProveAndVerify( zkey_fname, wtns_fname)
exportPublicIO( "./build/nim_public.json" , proof )
exportProof( "./build/nim_proof.json" , proof )