What problem does it solve?
Safety and security UX patterns for Ethereum dApps: risk-differentiated warnings (info/caution/danger tiers), ENS name resolution, ERC-55 address checksum validation, spam token filtering, and safe max-send calculations. Use this skill whenever building or reviewing ANY address input, warning system, risk indicator, token filtering, ENS display, send-max feature, or phishing protection — even if the user just mentions 'safety', 'security', 'warnings', 'address validation', 'ENS', 'spam tokens', or 'send max'.
Core Features & Use Cases
- Risk-differentiated warnings with info, caution, and danger tiers to differentiate risk levels and reduce warning fatigue.
- ENS name resolution and display alongside checksummed addresses to improve accuracy and clarity.
- ERC-55 address checksum validation for all user-entered or pasted addresses.
- Spam token filtering to hide suspicious or unverified tokens, with a dedicated hidden/unverified view and warnings.
- Safe max-send calculations that account for gas, fees, and network conditions, including L2/L1 data considerations.
- Cross-references to related UX and security patterns for broader integration.
Quick Start
Integrate these safety patterns into your dApp by validating addresses with ERC-55, resolving ENS names, applying risk-tiered warnings, filtering tokens, and calculating safe max-send amounts.