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

feat: snarks js binding for gnark #917

Open
smsunarto opened this issue Nov 15, 2023 · 1 comment
Open

feat: snarks js binding for gnark #917

smsunarto opened this issue Nov 15, 2023 · 1 comment
Labels
P3: Low Issue priority: low proposition

Comments

@smsunarto
Copy link

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Gnark currently doesn't have a clean way to client side proving since snarksjs is reliant on a different r1cs encoding than the one gnark has.

Describe the solution you'd like
A snarkjs-gnark binding would allow snarksjs to do proving and witness generation for gnark circuits.

Arkworks have something similar https://github.com/arkworks-rs/circom-compat

Describe alternatives you've considered
The hacky alternative is to compile gnark with tinygo, but other issues seems to have flagged performance and reliability issues.

@ivokub ivokub added proposition P3: Low Issue priority: low labels Nov 22, 2023
@ivokub
Copy link
Collaborator

ivokub commented Nov 22, 2023

Yup, we have been thinking about having some internal IR which we can nicely transpile from/to other languages (circom, noir). Currently not a big priority though, for Linea we're using gnark end to end.

Imo I have seen some efforts now and then (I think there is Noir-to-gnark transpiler somewhere), but dunno how well maintained they are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3: Low Issue priority: low proposition
Projects
None yet
Development

No branches or pull requests

2 participants