lambdaworks icon indicating copy to clipboard operation
lambdaworks copied to clipboard

Implement constraint importer from gnark for usage within Groth16 prover

Open gabrielfior opened this issue 2 years ago • 0 comments
trafficstars

As raised in this comment, it would be great if we could validate the algorithms with intermediate results from other libraries, such as gnark.

The idea would be: -> Implement a CSV importer of R1CS (for example, https://play.gnark.io/ outputs such a CSV representing the constraints, select cubic equation on the top right dropdown) -> Convert said R1CS into a QAP representation, that we can then forward to the Groth16 prover -> Write a test for said conversion, proving and verification

gabrielfior avatar Nov 12 '23 21:11 gabrielfior