Skip to content

semaphore:add-member

Add an identity commitment (or an array of them) to a Semaphore group. Only the group admin can execute the resulting transaction.

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

Supports runtime fields inside smart blocks. Use explicit @helper! expressions or captured outputs; other fields are evaluated at build time.

semaphore:add-member <commitment> <to> <group>
NameTypeEvaluationDescription
commitmentanyRuntime in smart blocksIdentity commitment, or an array of commitments
tocommandBuild timeKeyword to
groupnumberRuntime in smart blocksGroup id
load semaphore
semaphore:add-member $commitment to $group
# Batch (single addMembers transaction)
semaphore:add-member [$alice $bob $carol] to $group