Tomas Verhelst
Tomas Verhelst
I've did some more testing and it will be a more breaking change then expected. Different wallets return the chain id as ints or strings and might result in casting...
@zhaodashi0911 Can you please provide some more information and documentation about what you'd like to see added?
Are you trying to show a popup in your own wallet or call the MetaMask switch network popup?
@VivekMakwana24 I don't think it's possible to do that since that's native to MM, and I don't think they provide an API to show the switch network popup. Your best...
@VivekMakwana24 I think you'll have to dig in the Metamask source code. Maybe build the app and step through it. Unfortunately, at the moment I don't have a lot of...