"snarkJS: Error: Scalar size does not match" on Num2Bits · Issue #252...
source link: https://github.com/iden3/snarkjs/issues/252
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Comments
Hi, i'm new to zksnark and i'v installed circom2.0 and snarkjs. Now I'm testing tutorials from https://docs.circom.io/circom-language/basic-operators/:
I set the input.json as:
Then I compile the circom, calculate the witness, and do the trusted setup:
But when I generate the proof, the error happens:
Any insights are greatly appreciated! |
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK