I connected node with infura via web3js:

 var currentProviderr = new web3.providers.HttpProvider("https://ropsten.infura.io/...");

How to create accounts in infura? How to view them?

web3.eth.getAccounts(function(error, accounts) {
      if (error) {

      infurawallet = accounts[0];

infurawallet is showing undefined...

  • Hi , can you please tell your web3 version. Because i can't connect to ropsten like above. – e.k Aug 27 '18 at 13:09
  • web3 ^0.18.4 was the one I used...But then I connected to ropsten using geth instead of infura. – angelmaria Aug 28 '18 at 10:14

You cannot generate wallet with infura, because they can't hold the private key for you.

You also need to sign transaction before sending them.

You might find Infura's documentation useful.

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