What: Improve the ConnectButton component with wallet detection, network indicator, and account switcher.
Why: The current ConnectButton is basic. Users need to see which wallet is connected, what network they're on, and be able to switch accounts.
Scope: Show connected wallet name (Freighter), network indicator (testnet/mainnet), truncated address, and dropdown with: copy address, switch network, disconnect options.
Acceptance criteria:
- Wallet name is shown
- Network indicator is visible
- Address is truncated and copyable
- Dropdown has wallet actions
Technical context: src/components/wallet/connect-button.tsx — existing ConnectButton. src/store/auth-store.ts — auth state.
What: Improve the ConnectButton component with wallet detection, network indicator, and account switcher.
Why: The current ConnectButton is basic. Users need to see which wallet is connected, what network they're on, and be able to switch accounts.
Scope: Show connected wallet name (Freighter), network indicator (testnet/mainnet), truncated address, and dropdown with: copy address, switch network, disconnect options.
Acceptance criteria:
Technical context:
src/components/wallet/connect-button.tsx— existing ConnectButton.src/store/auth-store.ts— auth state.