Closed madiazp closed 4 years ago
Hi, yes for sure! Like five months ago I've added the verification of proofs generated by snarkjs & websnark, and my plan was to add verification for proofs generated by bellman, but didn't continued. Should not take much time, as is just a matter of parsing & converting the inputs as you comment, if I have free time next days I'll take a look, but if you want to do it feel free :)
Nice, I've started already. My problem is that I'm not that familiar with the prime fields. What is this NonResidue in the Fq2 definition?
I'm having an issue with the points, they won't work. Here more details
I couldn't use go-snark to address this issue but I finally solve this with the clearmatics/bn256 package. If you're interested in that I can upload the code to use it as reference if you want to add a ZoKrates verification functionality.
Hi @madiazp maybe this can be useful for this case https://github.com/arnaucube/go-bellman-verifier
Hi.
Are you open to add a module that can verify ZoKrates-generated proofs? a ZoKrates proof with the G16 scheme and 6 public inputs looks like:
And its Vk:
An implementation of this is actually straight forward I think. It needs a Hex then a Jacobian coordinate conversion and then only use your modules for Groth16. I can do a PR with a little module that do this if you feel like it.