Whitelisting (Address Whitelisting)
1 min read
Pronunciation
[why-tl-list-ing]
Analogy
Like a checkbook that only allows payments to approved vendors.
Definition
A wallet or contract feature restricting outgoing transfers to a pre-approved list of addresses.
Key Points Intro
Whitelisting controls spending via:
Key Points
Pre-approved list: Only listed addresses accepted.
Smart-contract enforced: `require(isWhitelisted[to])`.
Use cases: Corporate treasury, compliance.
Dynamic management: Add/remove addresses via governance.
Example
A company wallet only allows payroll payments to whitelisted employee addresses.
Technical Deep Dive
Wallet contract stores `mapping(address=>bool) whitelist`. `transfer()` uses `require(whitelist[_to])`. Admin functions `addToWhitelist()` and `removeFromWhitelist()` controlled by multi-sig.
Security Warning
If whitelist admin compromised, restrictions bypassed; secure admin keys.
Caveat
Restricts flexibility; out-of-whitelist payments require governance action.
Whitelisting (Address Whitelisting) - Related Articles
No related articles for this term.