-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Description
Following the successful implementation of the multi-chain wallet integration foundation, this issue focuses on enhancing and refining the wallet connectivity system to provide a seamless, robust, and production-ready experience across both EVM and Substrate ecosystems.
The current implementation supports:
- EVM Chains: Ethereum, Sepolia, Base Sepolia
- Substrate Chains: Polkadot, Kusama, Westend
- Wallet Support: SubWallet, Metamask, Polkadot.js, Talisman, WalletConnect (EVM & Polkadot), Injected Wallets
This update will address technical debt, improve user experience, and add missing features to ensure the wallet integration is production-ready.
Key Improvements
-
Complete EVM Balance Fetching - Implement full balance fetching for EVM wallets using viem (currently commented out in
use-wallet.ts) -
Wallet State Management - Improve wallet state synchronization between SubWallet Connect and Wagmi, add connection status indicators
-
Network Validation - Add network validation before transactions, automatic network detection, and better chain ID mismatch handling
-
Substrate API Reliability - Add connection retry logic, timeout handling, and better error messages for Substrate API connections
-
Chain Configuration - Move hardcoded chain configs to centralized config file, support dynamic chain addition, and environment-based configuration