iden3 / go-rapidsnark

go-rapidsnark
Apache License 2.0
20 stars 5 forks source link

Feature Request: Create a VerifyGroth16 method compatible with Proof generated by iden3/snarkjs #10

Open jeffprestes opened 1 year ago

jeffprestes commented 1 year ago

Both projects belongs to iden3 but go-rapidsnark/VerifyGroth16 does not accept the Groth16 Proof format generated by snarkjs where the Proof and the public data are in different files. Maybe a VerifyGroth16SnarkJs method that accepts the inputs from snarkjs would help Go devs that creates softwares only verifies proofs generated by third-parties companies.

jeffprestes commented 1 year ago

Example of snarkjs verify call:

 snarkjs groth16 verify verification_key_groth16.json public.json proof.json