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.

semaphore:add-member <commitment> <to> <group>
NameTypeDescription
commitmentanyIdentity commitment, or an array of commitments
tocommandKeyword to
groupnumberGroup id
load semaphore
semaphore:add-member $commitment to $group
# Batch (single addMembers transaction)
semaphore:add-member [$alice $bob $carol] to $group