Skip to content

zkVerify/snarkjs2zkv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snarkjs2zkv

Command line utility for converting Groth16 artifacts from snarkJS format to zkVerify format.

Building

npm install

Testing

npm test

Usage

  • Converting a snarkJS Groth16 zk-proof stored in file proof.json
    node snarkjs2zkv convert-proof proof.json
  • Converting a snarkJS Groth16 verification key stored in file verification_key.json
    node snarkjs2zkv convert-vk verification_key.json
  • Converting Groth16 public inputs stored in file public.json
    node snarkjs2zkv convert-public public.json -c bn128 # for BN128 curve
    node snarkjs2zkv convert-public public.json -c bls12381 # for BLS12-381 curve

By default these commands print their output to stdout, but it's possible redirect output to a file via the -o or --out option.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors