web3-design-patterns
Installation
SKILL.md
Web3 Design Patterns
Wallet Connection
The Flow
- Prompt: Don't ask to connect immediately. Show value first.
- Selection: Show supported wallets clearly. Highlight installed wallets.
- Connection: Show pending state. Handle rejection gracefully.
- Confirmation: Show connected address (truncated: 0x1234...5678). Show network.
- Persistence: Remember connection across sessions. Don't re-prompt on every visit.
Common Mistakes
- Showing 30 wallet options when 3-5 cover 95% of users
- No clear explanation of why connection is needed
- No way to disconnect or switch wallets
- Not handling network mismatches (user on L2, app expects mainnet)