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

Adds Noir library for BN SMT verify, add, update, delete #90

Merged
merged 16 commits into from
Dec 4, 2023

Conversation

fabianschu
Copy link
Contributor

Description

Includes a Noir circuit library based on the BigNumber smt JS implementation in packages/smt. The library includes functions for:

  • verifying (non-)membership proofs
  • adding a new entry
  • deleting an existing entry
  • updating an existing entry

Since it's written as a library and intended to be used in other circuits, I haven't added compilation scripts. More info about Noir libraries here (had to use the webarchive because noir docs are down atm^^) .

Related Issue

#89

Does this introduce a breaking change?

  • Yes
  • No

Other information

@cedoor cedoor self-requested a review December 4, 2023 10:30
@cedoor cedoor merged commit 1b605d4 into privacy-scaling-explorations:main Dec 4, 2023
2 checks passed
@cedoor
Copy link
Member

cedoor commented Dec 4, 2023

@fabianschu Thank you very much 🙏🏽

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

Successfully merging this pull request may close these issues.

2 participants