#076: Wallet Session Persistence and Auto-Reconnect
Category: [FRONTEND]
Difficulty: ● MEDIUM
Tags: wallet, session, freighter, provider, ux
Description
Extend WalletProvider.tsx to persist the last connected wallet name in localStorage and silently attempt reconnection on page load. If the wallet extension is unavailable, show a persistent banner instead of silently failing. Guard all contract invocations against a disconnected state.
Acceptance Criteria
#076: Wallet Session Persistence and Auto-Reconnect
Category: [FRONTEND]
Difficulty: ● MEDIUM
Tags:
wallet,session,freighter,provider,uxDescription
Extend
WalletProvider.tsxto persist the last connected wallet name inlocalStorageand silently attempt reconnection on page load. If the wallet extension is unavailable, show a persistent banner instead of silently failing. Guard all contract invocations against a disconnected state.Acceptance Criteria
localStorageand restored on load.requireWalletguard that prompts connect if needed.isConnectingstate correctly reflects the reconnection attempt.