3

Hi I have MetaMask installed and Im working with the Remix IDE. I've looked everywhere but can't seem to work out how to add multiple accounts to here:

enter image description here

so that I can test transactions using a different ether account. At the minute I have to go into MetaMax change the account and then refresh the Remix window to show the new account. If I click on the drop down only 1 account shows.

Thanks

2
  • Do you really need a testnet to test your code or any environment? Commented Jan 9, 2018 at 11:55
  • This is a limitation of using Injected Web3 as your Environment.
    – Josh
    Commented Aug 8, 2019 at 14:47

1 Answer 1

2

Click on Environment input and select JavaScriptVM.

You will see the list of 5 accounts with a balance of 100 Ether each. enter image description here

1
  • You can also connect to a locally running node (like ganache) by choosing Web3 Provider as your Environment and entering the correct url (ie localhost:8545) while the node is running. If using ganache, this will give you access to all 10 accounts made available by ganache.
    – Josh
    Commented Aug 8, 2019 at 14:49

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.