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

Add pedersen commitments to leaf commitments instead of only Poseidon #89

Closed
drewstone opened this issue Feb 22, 2021 · 1 comment
Closed
Assignees

Comments

@drewstone
Copy link
Collaborator

We should test out pedersen commitments to (r, nullifier) as well as our current Poseidon(r, nullifier). This would potentially present some speedups on the front-end and could be more optimised for the leaf commitments.

For the front-end, we wouldn't need to instantiate the Poseidon parameters to generate deposit notes. Instead, we could simple compute a pedersen hash from the base field generator and the random elements (r, nullifier) sampled from the field.

@drewstone
Copy link
Collaborator Author

more constraints than Poseidon

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

2 participants