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 . 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 Sep 5, 2021 at 17:38
  • for example the faucet from account1 and i pass account2 to the parameter named address 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! 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 Sep 5, 2021 at 17:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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