Skip to content

semaphore:remove-member

Remove an identity commitment from a Semaphore group (the leaf becomes 0; the tree keeps its size). Computes the required Merkle siblings from the reconstructed member set — they go stale if the group changes before execution.

⚗️ Experimental — available at next.evmcrispr.com.

Smart blocks: build-time inputs only. A concrete identity and group are needed to reconstruct the Merkle proof.

semaphore:remove-member <commitment> <from> <group>
NameTypeEvaluationDescription
commitmentnumberBuild timeIdentity commitment to remove
fromcommandBuild timeKeyword from
groupnumberBuild timeGroup id
  • Removal sets the member's leaf to 0 — the tree keeps its size, and the member index stays occupied.
  • The Merkle siblings are computed from the reconstructed member set at planning time; they go stale if the group changes before the transaction executes.