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

feat: CommitmentScheme trait + example #185

Open
Autoparallel opened this issue Jan 18, 2025 · 3 comments
Open

feat: CommitmentScheme trait + example #185

Autoparallel opened this issue Jan 18, 2025 · 3 comments
Assignees
Labels
feature ✨ New feature or request good first issue 👋 Good for newcomers

Comments

@Autoparallel
Copy link
Contributor

Idea

We currently have no examples of CommitmentSchemes in our crate! This cannot be! So, we should implement a standard trait that any and all commitment schemes should use and provide some examples.

Examples

  • Hash based commitment scheme (should be quick to implement!)
  • Pedersen commitment
  • Polynomial commitment (e.g., KZG)
  • Vector commitment (e.g., Merkle tree)

Of the above, hash and vector could be done with what we already have. Implementing Pedersen and KZG would be of interest to more of the ZK community, surely.

@Autoparallel Autoparallel added feature ✨ New feature or request good first issue 👋 Good for newcomers labels Jan 18, 2025
@RajeshRk18
Copy link

I will work on this!

@Autoparallel
Copy link
Contributor Author

You got it @RajeshRk18

@devloper
Copy link
Contributor

devloper commented Jan 21, 2025

We have univariate KZG! I'd love to see more. Code-based commitment schemes, multivariate kzg and others

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ✨ New feature or request good first issue 👋 Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants