#用docker部署ethereum,参考下面的网址
https://github.com/vertigobr/ethereum/tree/master
#使用说明参考下面的网址
https://medium.com/@andrenit/buildind-an-ethereum-playground-with-docker-part-2-docker-image-928f8ceaac50
如果window本地不启动geth,直接启动钱包,用下面命令。通过rpc直接连接其他geth
https://github.com/vertigobr/ethereum/tree/master
#使用说明参考下面的网址
https://medium.com/@andrenit/buildind-an-ethereum-playground-with-docker-part-2-docker-image-928f8ceaac50
如果window本地不启动geth,直接启动钱包,用下面命令。通过rpc直接连接其他geth
"C:\Program Files\Ethereum-Wallet\Ethereum Wallet.exe" --rpc "http://xx.xx.xx.xx:8545"
如果window本地启动geth,docker端必须公开端口,如8545,8546,30303,30304等,然后参照下面地址,生成enode,在docker里面执行admin.addPeer,来添加window的geth
#初期创建用户,参照下面
https://github.com/ethereum/go-ethereum/issues/14831
#部署netstats的时候,如果部署eth-net-intelligence-api会出现,如果机器重新启动,netstats无法使用状态。
以下的帖子可以参照。所以代替的方法是,在其他geth节点把参数--ethstats <当前geth的ip>:secret@<netstats的服务器IP>:port加上
https://github.com/cubedro/eth-net-intelligence-api/issues/226