Pattern: KYC-Only Token
Create a token where only KYC-verified investors can hold or transfer — suitable for Reg D/S securities
Overview
The allowlist pattern restricts transfers to a set of approved wallets. Only wallets on the list can send or receive tokens. This is the most common setup for securities under Reg D/S.
Implementation
Key Points
- The issuer must be added to the allowlist to distribute tokens
- Maximum 20 wallets per batch, ~300 total per registry
- Use
removeWallets()when an investor's KYC expires - Use
toggleActive(false)as an emergency kill switch to allow all transfers