Description
Improve wallet connection UX by properly persisting connection state and handling reconnection scenarios.
Current Issues
- Wallet state restoration on page refresh is basic
- No handling for wallet disconnection from extension
- No reconnection prompt when wallet is locked
- Network changes not always detected properly
Tasks
- Improve session restoration logic in
WalletContext
- Add wallet disconnection detection
- Implement reconnection flow when wallet is locked
- Add "Reconnect" button when connection is lost
- Handle network switching more gracefully
- Add connection status indicator
- Persist user's last connected network preference
- Add connection timeout handling
Acceptance Criteria
Description
Improve wallet connection UX by properly persisting connection state and handling reconnection scenarios.
Current Issues
Tasks
WalletContextAcceptance Criteria