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

Feature request: read R1CS as serialized by libsnark #1

Open
kobigurk opened this issue Oct 20, 2018 · 4 comments
Open

Feature request: read R1CS as serialized by libsnark #1

kobigurk opened this issue Oct 20, 2018 · 4 comments
Labels
enhancement New feature or request

Comments

@kobigurk
Copy link

DIZK is an awesome concept, and I'd really want to try this out for some of the larger constraint systems I work on - some of these are in libsnark.

It would be awesome if we could read in R1CS constraint systems as they are serialized in libsnark, so DIZK could be used with a lot of the existing circuits out there.

@howardwu howardwu added the enhancement New feature or request label Nov 8, 2018
@howardwu
Copy link
Member

howardwu commented Nov 8, 2018

That sounds neat. Do you mean you construct circuits in libsnark (using something like gadgetlib) and would find it useful to export it to DIZK for running the setup and prover?

@kobigurk
Copy link
Author

Exactly what I mean. I also mean additionally using libsnark to generate the witness.

@alexpArtos
Copy link

alexpArtos commented Feb 19, 2019

We are doing that. We modified ZoKrates to include a JSON output of the R1CS, and then read it back into DIZK. But our work in general is still in a rough state, and not really ready for sharing.

@naure
Copy link

naure commented Feb 20, 2019

You may consider using this format instead, and hopefully support multiple frontends at once: https://github.com/QED-it/gadget_standard

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

No branches or pull requests

4 participants