Skip to content

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.

semaphore:validate <proof> <for> <group>
NameTypeDescription
proofstringProof JSON from semaphore:prove
forcommandKeyword for
groupnumberGroup id
  • validateProof records 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.