I am very new to Ethereum dev and I am currently following a tutorial. However, the Remix IDE seems a bit different from the one on my computer, likely because Mist has updated since the tutorial has been uploaded.

Basically, I don't know how to compile and run my code.

I tried the create button under "run" on the right navigation bar. This is the error message I am getting:
creation of MyFirstContract errored: Send transaction failed: invalid address . if you use an injected provider, please check it is properly unlocked.

I don't know if this is useful but my mist is set to the Rinkeby test network.

It would be really appreciated if someone could teach me how I can run my code. :)

Thank you!

2 Answers 2


Try switching your web3 provider in the settings tab to "Javascript VM" and it should solve your issue.

  • I don't seem to be able to find a place to change my "web3 provider" under the settings tab. Any further instructions?
    – Erica wang
    Commented Apr 7, 2018 at 12:39
  • Whoops my apologies it's in the Run tab. where it says 'environment' you want ot select the javascriptVM
    – hextet
    Commented Apr 8, 2018 at 6:59
  • I'm guessing you're referring to Remix's web3 provider?
    – Ann Kilzer
    Commented Nov 24, 2019 at 13:00

Unfortunately Mist has been deprecated. I recommend using Remix for deploying smart contracts, and MetaMask for interacting with DApps.

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.