1

By which I can connect the ethereum live network.

web3 = Web3(HTTPProvider('http://192.168.3.48:8045'))

Here I want to put a ethereum live network .

0

If you already have Geth installed globally, running the command geth in your terminal will connect. As follow,

enter image description here

If don't have it installed, refer this find how to install a client including geth.

If you are using windows this post may help you guiding through that.

Refer this GitHub wiki page to get an idea about connecting to networks in general

Refer this question as well.

And option --rpc together with geth (i.e. geth --rpc) will open the HTTP_RPC server (by default address is localhost and port is 8545. Check here for more options). This will start running a full node with RPC port open. Then you can use your above command.

1

If you have a node running (that is connected to the "mainnet"), fully synced and has the relevant RPC ports open, then this should work.

If you don't want to run a full node locally - or a light client - you could always use Infura's "mainnet" end-point

  • Using infaura it is fine . But how could I create and and run my own node ? please tell the process . – Tushar Subhra Bose Sep 19 '17 at 11:18
  • using infura how could I use 'sendTransaaction' ? – Tushar Subhra Bose Sep 20 '17 at 7:11

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.