Replies: 2 comments
-
It looks like the tutorial code didn't hash the message to a bn254 Fr element. I include here a working version, but would appreciate feedback. The most pertinent five lines of code are as follows, and the full code is also below.
The full code:
|
Beta Was this translation helpful? Give feedback.
-
Hi, so in your first sample your message ( |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Good day - I am just starting with a basic implementation of SNARK verification of EdDSA signatures. Unfortunately, I do not see how to run even just the witness generation code from the documentation here.
The exact code I use (essentially just taken from the tutorial) is provided below, along with the error output. As far as I can tell I have faithfully implemented the witness generation (not the SNARK circuit) part of the tutorial, but there seems to be a problem during the signing phase.
I expect that there is a trivial misunderstanding somewhere.
Many thanks-
The output is as follows:
Beta Was this translation helpful? Give feedback.
All reactions