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.
Syntax
Section titled “Syntax”semaphore:add-member <commitment> <to> <group>Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
commitment | any | Identity commitment, or an array of commitments |
to | command | Keyword to |
group | number | Group id |
Examples
Section titled “Examples”load semaphoresemaphore:add-member $commitment to $group
# Batch (single addMembers transaction)semaphore:add-member [$alice $bob $carol] to $group