web3-react V6 Fix EIP6963

💡 active: false
🔗 chainId: ~
👤 account: ~
🚫 error: ~

🚨 The default injection method is suitable for APP wallets and scenarios where only one wallet extension is installed.
Once there are multiple wallet extensions injected in the current environment and the project is using version V6, users will not be able to freely switch wallet providers.

✅ In this example, by instantiating AbstractConnector, listening for container injection via the EIP6963 protocol, and using the getProviders method to obtain all available containers, the compatibility issue of version v6 is thus resolved.
Default Injected container (Cannot be manually switched)
Available EIP6963 wallets (click to switch providers)
None available Providers
About: https://0xspace.tech
repo: https://github.com/BiscuitCoder