-
Notifications
You must be signed in to change notification settings - Fork 28
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
[TASK] PLONK Anchor circuit #86
Comments
12 tasks
I've been studying the anchor more carefully and I have a couple of questions before implementing it with our plonk gadgets.
|
|
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Anchor circuit should have inputs:
The
secret
and thenullifier
serve the same function as in Mixer circuit (see #121 ).path
is the Merkle path. It's a private input, which means all the nodes are hidden. We will use it to calculate root, and then check if it exists inside the root set (roots
) that was passed as a public input.Arbitrary data
- arbitrary constrains that will be included in the proof.Out of these, private inputs are:
secret
,nullifier
,path
Public inputs are:
nullifier_hash
,chain_id
,roots
,arbitrary_data
Higher-level description of how the Anchor circuit works:
The text was updated successfully, but these errors were encountered: