0

I am using infura web3 provider in ethereum but I don't want to use third party providers in my project so I want to use localhost:8545? how to use this provider? Is it connect to the ethereum node? what is difference between localhost and infura?

0

Infura is a Blockchain provider which enables you to interact with Ethereum without running a node. If you want to interact with the Blockchain by your own you have to setup a node using clients such as Geth or Parity.

  • Thank you, In node API which I can use as provider https\\localhost:8545. It will be connect? – vinoth s Jul 3 '20 at 11:16
  • Once you have your node attached to port 8545, you can connect to it using : web3 = new Web3("http://localhost:8545") with web3js. – clement Jul 3 '20 at 13:42

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