I have encountered a problem where I need a large number of accounts. How can I increase the number of accounts from only 1 with injected web3. Remix and Metamask only give 1 account. I require more than that.

1 Answer 1


Simply make new account on metamask. Whenever you change your account, Remix updates account and switches to account.

Then from faucet receive testnet's coin or send from your first account

  • i got the error message : "Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending? execution reverted " and my function is function addVotersList(string name,uint id , address voter) so i want to pass an address to third element of parameters . Commented Sep 5, 2021 at 17:36
  • The error you get and the topic you made are totally different problems! Provide your code in question and change the title of your question Commented Sep 5, 2021 at 17:38
  • for example the faucet from account1 and i pass account2 to the parameter named address Commented Sep 5, 2021 at 17:39
  • The error you commented first is related to the solidity code, not to accounts. Please provide the code related to the error! Commented Sep 5, 2021 at 17:41
  • why to change the title ? the contract revert just the address and i want to add another accounts/addresses they are acceptable to injected Web3 to make the transaction done Commented Sep 5, 2021 at 17:43

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.