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

snarkjs setup failing in nodejs 14.11 #66

Closed
gokulsan opened this issue Sep 19, 2020 · 2 comments
Closed

snarkjs setup failing in nodejs 14.11 #66

gokulsan opened this issue Sep 19, 2020 · 2 comments

Comments

@gokulsan
Copy link

I am trying a simple factor multiplication circuit as give in the circom tutorial. I am able to compile the circuit as per the command >> circom circuit.circom --r1cs --wasm --sym

However the following snarkjs commands and steps are failing >>

snarkjs printconstraints -r circuit.r1cs -s circuit.sym
snarkjs setup

@jbaylina
Copy link
Member

seetup is discontinued. You need to do snarkjs zkey new. Pleaae, see the tutorial in the readme.

@dvcrn
Copy link

dvcrn commented Mar 25, 2021

Hi! I found this issue while googling. When you previously generated pk and vk through setup, can you migrate those to zkey or do you have to start from 0? I wanted to see if I can use snarkjs over wasmsnark but don't have a zkey yet

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

3 participants