Closed creed-victor closed 3 years ago
Regarding to the documentation (https://docs.metamask.io/guide/rpc-api.html#other-rpc-methods), this method should be called only after some user action (such as a button click). What is your proposed flow @t-z-u ?
I will have to look into this next week
On hold until the FISH Sale is not ready.
Deployed.
Metamask now has a feature which allows dapps to add new network and ask for network change if user is in the wrong one:
https://docs.metamask.io/guide/rpc-api.html#other-rpc-methods
https://consensys.net/blog/metamask/connect-users-to-layer-2-networks-with-the-metamask-custom-networks-api/ https://eips.ethereum.org/EIPS/eip-3085