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

Compatibility Between zk-garage Implementation and snarkjs Proof Format #168

Open
saurabhchalke opened this issue Oct 4, 2023 · 0 comments

Comments

@saurabhchalke
Copy link

Description:

I've been working with the zk-garage PLONK implementation and I am interested in making it compatible with the snarkjs proof format. This would greatly enhance interoperability with other tools and platforms that utilize snarkjs.

Details:

  1. zk-garage Proof Structure:

    • The zk-garage proof contains commitments to witness polynomials, permutation polynomials, lookup polynomials, and quotient polynomials.
    • Additionally, it contains batch opening proofs and evaluations.
  2. snarkjs Proof Structure:

    • The snarkjs proof, as per my understanding, consists of an evaluation of polynomials at a random point, along with a series of elliptic curve points that act as commitments to those polynomials.
  3. Challenges:

    • The two proof formats have distinct structures and might encode the circuit's information differently.
    • The elliptic curve representations may differ.

Request:

I would appreciate guidance or a potential enhancement to bridge the compatibility gap between these two formats. This could be in the form of:

  • A converter tool or function.
  • Documentation detailing the steps to convert between the two formats manually.

Additional Context:

Understanding the compatibility and potentially achieving it would be beneficial for developers like myself looking to leverage both tools in our zero-knowledge proof systems.

Thank you for the great work and looking forward to any insights or updates on this matter!

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

No branches or pull requests

1 participant