docker 部署 ethereum

#用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

"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


  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值