I am unable to switch environment from Remix London to Injected Provider-Metamask for testing out my smartcontract, currently my metamask is on Rinkeby Test network.
4 Answers
Hey is it showing any error? Or maybe you can try out another network as well. Also, share the screenshot for the same.
-
My contract compiled successfully and I also checked with other networks too, but remix not switching to Injected Provider. Commented Sep 11, 2022 at 14:13
-
What error is it showing. There is nothing to do with the compilation and all. Commented Sep 12, 2022 at 5:59
I would suggest the following:
Switch to a different browser with MetaMask and reconnect
OR
Ensure MetaMask is unlocked, refresh RemixIDE, and reconnect
-
1Thank you, I switched the browser and try to reconnect , boom it worked. Commented Sep 12, 2022 at 7:21
-
1
I encountered the same problem, however, refreshing the page after unlocking metamask solved the problem for me.
Try these ways:
- Switch to a different browser with MetaMask and reconnect.
- Ensure MetaMask is unlocked, refresh RemixIDE, and reconnect.
- last,try removing other wallets from extensions(like safePal wallet, math Wallet, trustWallet, etc) which might be conflicting with the Metamask.