Skip to content

AbstrLabs/xjsnark-gnark-prover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xjsnark-gnark-prover

This repo implements a gnark backend to compile and prove a zk-SNARK circuit defined in xjsnark framework.

Build

go build

Use

./xjsnark-gnark-prover compile <arith-circuit> <output-gnark-circuit>
./xjsnark-gnark-prover keygen <gnark-circuit> <output-pk> <output-vk>
./xjsnark-gnark-prover prove <gnark-circuit> <pk> <input> <output-proof>
./xjsnark-gnark-prover verify <proof> <vk> <public-input>

There is a couple of circuit and sample input in test-cases/, for example, for the aes128 circuit, <arith-circuit> is test-cases/AES128.arith and <input> is test-cases/aes128-input.in.

About

Gnark backend for xjsnark ZKP circuit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages