semaphore:validate
Validate a Semaphore membership proof on-chain. The contract records the nullifier, so a second proof with the same identity and scope reverts.
⚗️ Experimental — available at next.evmcrispr.com.
Syntax
Section titled “Syntax”semaphore:validate <proof> <for> <group>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
proof | string | Proof JSON from semaphore:prove |
for | command | Keyword for |
group | number | Group id |
validateProofrecords the nullifier on-chain: a second proof from the same identity and scope reverts. Use @semaphore:verify for a read-only check that records nothing.