mirror of
https://github.com/logos-storage/nim-groth16.git
synced 2026-01-10 01:23:11 +00:00
19 lines
582 B
Nim
19 lines
582 B
Nim
|
|
import ./r1cs
|
|
import ./zkey
|
|
import ./witness
|
|
import ./bn128
|
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
proc testMain() =
|
|
# checkMontgomeryConstants()
|
|
let r1cs_fname : string = "/Users/bkomuves/zk/examples/circom/toy/build/toymain.r1cs"
|
|
let zkey_fname : string = "/Users/bkomuves/zk/examples/circom/toy/build/toymain.zkey"
|
|
let wtns_fname : string = "/Users/bkomuves/zk/examples/circom/toy/build/toymain_witness.wtns"
|
|
parseWitness( wtns_fname)
|
|
parseR1CS( r1cs_fname)
|
|
parseZKey( zkey_fname)
|
|
|
|
when isMainModule:
|
|
testMain() |