Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 942 Bytes

README.MD

File metadata and controls

30 lines (18 loc) · 942 Bytes

Building private ethereum network.

1 run script ./init-piccgenesis.sh

2 run script ./start-picc-etherum-console.sh

3 add peer

admin.addPeer('enode://ddf2808f09a34e4b77eb7854be18decc760edce76aa4f1026f720a6c5d41b77db1a84238f4d8a54b143b2bf931647351f45de5748fbd288f7940a6d0436065b5@[192.168.80.11]:30000')

admin.addPeer('enode://94230047de4f1f442a46bd79f7ad31bd09d68f790358755eae94e5d57336153f8320dd4ca23711b40fb2f44fa97cb28270d70530ee9139260ee86b78762ab98a@[192.168.50.76]:30000')

#only for 192.168.0.199 pc admin.addPeer('enode://94230047de4f1f442a46bd79f7ad31bd09d68f790358755eae94e5d57336153f8320dd4ca23711b40fb2f44fa97cb28270d70530ee9139260ee86b78762ab98a@[192.168.0.85]:30000')

4 download wallet to wallet dir wallet name:ethereumwallet

5 run private wallet ./start-private.sh

##study code https://blog.csdn.net/ddffr/article/category/6951273

#start code analyse https://blog.csdn.net/ddffr/article/details/79159741