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

Alternative VK construction #23

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

davxy
Copy link
Collaborator

@davxy davxy commented Jul 2, 2024

This is useful for application where the raw vk is constant in the application and we persist only the commitment.

Usage example.

  1. We rebuild the VerificationKey from a new set of public keys
  2. We get the commitment (using the introduced commitment() method
  3. We persist only the commitment
  4. When required (i.e. to construct the verifier) we construct VerificationKey from the commitment and the application constant raw verification key

@swasilyev swasilyev merged commit 96137b1 into w3f:master Jul 2, 2024
4 checks passed
@davxy davxy deleted the alternative-vk-construction branch July 2, 2024 15:12
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