Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement proving/verifying of R1CS using arkworks #135

Open
mimoo opened this issue Jun 20, 2024 · 1 comment · Fixed by #137
Open

implement proving/verifying of R1CS using arkworks #135

mimoo opened this issue Jun 20, 2024 · 1 comment · Fixed by #137
Labels

Comments

@mimoo
Copy link
Contributor

mimoo commented Jun 20, 2024

using ark-noname to translate our R1CS to arkworks R1CS, we should be able to use arkworks to create proofs and verify proofs using Groth16!

https://github.com/dmpierre/ark-noname/blob/7b03d3afb71761f7049d2249212745aa9fe4a65b/src/lib.rs#L113

(the same way we use kimchi to prove/verify, see https://github.com/zksecurity/noname/blob/main/src/cli/cmd_prove_and_verify.rs)

probably we don't need to integrate it with the CLI right away, but adding the code in the R1CS backend (the asme way we have the code in the kimchi backend https://github.com/zksecurity/noname/blob/main/src/backends/kimchi/prover.rs)

and make it use in tests (see how kimchi uses it https://github.com/zksecurity/noname/blob/main/src/tests/examples.rs#L72)

@mimoo
Copy link
Contributor Author

mimoo commented Jun 26, 2024

^ still remains to add it to the prove/verify CLI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant