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

Research zkSNARK Semaphore RLN blocker: Shamir in SNARK #10

oskarth opened this issue Nov 8, 2019 · 0 comments


Copy link

@oskarth oskarth commented Nov 8, 2019


For Semaphore RLN we need to embed the Shamir logic inside the SNARK in order to do slashing for spam. Currently the implementation is trusted and very hacky

Acceptance criteria

  1. Shamir logic is integrated into the SNARK, and glue code around uses this

  2. (Optional?) Ideally it works for precomputed proofs too, requires some more thinking here

  3. Number of constraints don't explode too much, or at least understanding of overhead this would bring


Requires hacking actual SNARKs, and then some more thought around precomputes (no signal?) / complexity / etc.

Note that this doesn't apply to the Semaphore voting etc use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.