0

enter image description here

enter image description here

enter image description here I find that unlike the other tutorial, there is no injected web3 option, but injected provider - metamask. And when I click it, the metamask shows that it is connected, however, the remix could not detect the account. I have only remix connected to my metamask. What should I do?

2
  • do you have multiple wallets installed. maybe coinbase and metamask
    – Yilmaz
    Commented Oct 9, 2022 at 1:48
  • @Yilmaz no. Only metamask
    – user77340
    Commented Oct 9, 2022 at 1:49

4 Answers 4

2

Rinkeby and Ropsten networks are deprecated since October 5th, 2022. And, no more supported by many RPC. Also, explorers are now read only. You should switch to Goerli or Sepolia.

0
1

Surprisingly the issue is with Rinkeby and Ropsten. If you choose ethereum main network (or any other ) on metamask, refresh the remix, and choose Injected Provider-Metamask, your main net account will be populated.

4
  • so you mean Rinkeby now is not compatible with remix?
    – user77340
    Commented Oct 9, 2022 at 2:19
  • I do not know what causing the issue. I just realized. did u try
    – Yilmaz
    Commented Oct 9, 2022 at 2:20
  • @Eric I just checked the docs but could not see any warning or anything. it might be a bug
    – Yilmaz
    Commented Oct 9, 2022 at 2:24
  • When I switch to ethereum mainnet and switch back, the account appears in the remix, but the balance is the same as the one of my mainnet account. When I want to deploy the contract, no confirmation request pops up. It seems there is still some bug.
    – user77340
    Commented Oct 9, 2022 at 3:11
0

If you are seeing this problem on Goerli, try switching to the Mainnet, connecting to Metamask, and then switching back to Goerli. In the final step, give Remix 5-10 seconds to update the account. This worked for me as of August 2023.

enter image description here

0

One more way to try, which worked for me -

  1. Take the backup of your code & remove all the files from your Remix workspace.
  2. Completely clear the workspace & reload the remix page.
  3. Create new file/s & paste the code in them.
  4. Compile the code & now try to switch the Environment to Metamask.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.