Replies: 2 comments 1 reply
-
Thank you @cedoor for posting this. I think might be interesting to try to answer the following question: Should Semaphore protocol support use cases where users can generate multiple valid proofs within a group? For example, this would result in supporting scenarios like: voting, where users can vote multiple times until the vote is closed, or making signatures, in a group where everyone can make multiple signatures as a "form" of signaling. Please correct me if I am wrong. |
Beta Was this translation helpful? Give feedback.
-
Hey! Interesting idea. I think it's nice to keep it as it is now to support all the use cases by default. Apps using different scopes to verify many proofs inside a group are very popular too. We only have to explain the |
Beta Was this translation helpful? Give feedback.
-
In Semaphore V4, the
generateProof
function of the@semaphore-protocol/proof
package takes 6 parameters as input:signal
)nullifier
).wasm
/.zkey
)The first four are required, the last two optional. Although there are complex applications that require special custom scopes, the scope is in most cases the group id, so that group members can only generate one valid proof within the group.
Might it make sense to also make the scope optional and assign the group id as the default value?
Beta Was this translation helpful? Give feedback.
All reactions