I have created a Private Ethereum Block chain on AWS with two nodes. One is Primary node and another is Miner. Now I deployed the smart contract on primary node. As its a P2P n/w, same smart contract should be accessible on second node as well, but I am not able to access it from another node. Also the wallets created in one node are also not accessible in another node. Can any body please enlighten me the process of Syncing the nodes. As I read each node contains the same data of another node.

  • What commands do you use in geth to run your nodes? – Roman Frolov Feb 1 '18 at 14:40
  • @RomanFrolov : in Node1 i have added the peer (node2 )like below: admin.addPeer("enode://09884838384d3438438434@"); then I executed the Geth on Node 2 as below: geth --datadir ~/eth-dev/ --networkid 4040 --verbosity 3 -ipcdisable --rpc --port 30301 --rpcport 8546 console – Amit Modi Feb 2 '18 at 11:17

Your Answer

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

Browse other questions tagged or ask your own question.