How can I sync geth and testrpc private nodes locally?

0 votes
I have to nodes running. one on geth and other on testRPC. how can I sync both the nodes if I want to write a smart contract in both private nodes to contribute
May 16, 2018 in Blockchain by Shashank
• 10,360 points
79 views

1 answer to this question.

0 votes

node running on testrpc cannot be connected to or by other nodes unles they have same genesis file. Testrpc is a standalone node. It would be simpler to create two or more private nodes and have them sync. Moreover, to get them to sync you will have to use admin.addPeers() in the geth console. so that nodes can communicate with each other. You have to enter the node id of the node you want to sync with.

answered May 16, 2018 by Shashank
• 10,360 points

Related Questions In Blockchain

0 votes
1 answer

How to sync private nodes in geth and testRPC locally?

HI. As much as I know, running ...READ MORE

answered Jan 16, 2019 in Blockchain by Omkar
• 69,060 points
110 views
+1 vote
1 answer

How can I connect to the specified nodes using IPFS?

You can actually connect to the specific ...READ MORE

answered Apr 25, 2018 in Blockchain by Christine
• 15,810 points
687 views
0 votes
1 answer

How can I deploy a HelloWorld contract on my testrpc network?

The problem lies in the command: truffle migrate Your truffle migrate command ...READ MORE

answered Apr 27, 2018 in Blockchain by Perry
• 17,090 points

edited Aug 10, 2018 by Omkar 735 views
0 votes
1 answer

Truffle tests not running after truffle init

This was a bug. They've fixed it. ...READ MORE

answered Sep 11, 2018 in Blockchain by Christine
• 15,810 points
296 views
+1 vote
3 answers

Removing double quotes from a string from JSON response in PHP

Just remove the json_encode call, and it should work: $resp ...READ MORE

answered Sep 12, 2018 in Blockchain by digger
• 26,660 points
13,047 views
0 votes
1 answer
+1 vote
1 answer

How can I initiate a transaction on ethereum private network using mobile device?

There is no android wallet to connect ...READ MORE

answered Apr 18, 2018 in Blockchain by Shashank
• 10,360 points
104 views