iden3 / go-circom-prover-verifier

Go implementation of the Groth16 zkSNARK Prover and Verifier compatible with Circom
GNU General Public License v3.0
38 stars 13 forks source link

Missing json files #26

Open i0x71 opened 3 years ago

i0x71 commented 3 years ago

Hi, It looks like the mentioned proving_key.json and other json files are missing from the repo. Is there an alternatives that i can use ? What data should be inside of those files ?

Thank you

arnaucube commented 3 years ago

Hi, yes, this is because the proving_key is too big to be uploaded to the git repository, and also is a file that is generated by a script of this repo. To locally generate the proving_key (and other needed files related to the circuits), you can use the script: https://github.com/iden3/go-circom-prover-verifier/blob/master/testdata/compile-circuits.sh , which will compile the different circuits and will generate also the trusted setup needed to do the tests flows of the repository.

But take in mind, that this repository last update is from June 2020, and since then Circom has been updated multiple times, including changes in the file formats.