docker-compose ethereum geth private chain

Suggestion is use docker-machine for make docker machine is more easy. VirtualBox windows Use HFS.exe for copy file to docker machine instance. Directory < ethtest > ||=docker-compose.yml ||=< go-ether > &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp||=Dockerfile &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp||=start.sh &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp||=< genesis > &nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp||=genesis.json 1、docker-compose.yml import: .keystore maybe no use, because run again docker-compose need to delete /go-ether/keystore .entrypoint must have together Dockerfile ENTRYPOINT ` version: '3.3' services: go-ether: build: context: go-ether/ volumes: #- ./go-ether/keystore:/root/.ethereum/devchain/keystore:rw - ./go-ether/genesis/genesis.json:/root/genesis/genesis.json:ro - /etc/localtime:/etc/localtime:ro entrypoint: /root/start.sh ports: - "8545:8545" - "30303:30303" - "30303:30303/udp" networks: - elk networks: elk: driver: bridge ` 2、Dockerfile ...

2018-11-07 · 3 min · 590 words · Me

$@ linux shell

http://jyhshin.pixnet.net/blog/post/39349999-shell-script-%E8%87%AA%E5%8B%95%E5%AE%9A%E7%BE%A9%E7%9A%84%E8%AE%8A%E6%95%B8 $@ 包含所有輸入的參數,$@ 即代表 $1, $2,….直到所有參數結束。$@ 用將所有參數以空白為間隔,存在 $@ 中。也就是說 $@ 代表了 “$1” “$2” “$3”….。

2018-11-07 · 1 min · 14 words · Me

ethereum private chain 私有鏈

https://github.com/ethereum/go-ethereum/wiki/Private-network https://medium.com/taipei-ethereum-meetup/%E4%BD%BF%E7%94%A8-go-ethereum-1-6-clique-poa-consensus-%E5%BB%BA%E7%AB%8B-private-chain-1-4d359f28feff https://blog.fukuball.com/ethereum-%E9%96%8B%E7%99%BC%E7%AD%86%E8%A8%98-22geth-%E5%9F%BA%E7%A4%8E%E7%94%A8%E6%B3%95%E5%8F%8A%E6%9E%B6%E8%A8%AD-muti-nodes-%E7%A7%81%E6%9C%89%E9%8F%88/ https://medium.com/@javahippie/building-a-local-ethereum-network-with-docker-and-geth-5b9326b85f37 https://mshk.top/2017/11/go-ethereum-1-7-2/ https://www.tiny-calf.com/2018/02/01/GETH%E5%AE%A2%E6%88%B7%E7%AB%AF%E5%9F%BA%E6%9C%AC%E6%93%8D%E4%BD%9C/ https://neighborhood999.github.io/2018/09/19/running-ethereum-on-docker/ https://github.com/yutianwu/ethereum-docker https://github.com/yutianwu/ethereum-docker

2018-11-07 · 1 min · 9 words · Me

ethereum eth --dev & networkid & chainId doesn't work with a custom genesis block

https://github.com/ethereum/go-ethereum/issues/15182 @robert-zaremba You can still use dev with datadir. Dev just uses a 0-period clique chain. That said, –dev was not meant to be used on custom networks / genesis blocks. If you need a custom setup, you can init a chain of your choosing. Dev will try to be smart and configure a lot of stuff for easy testing, but it’s not flexible, it’s easy. 翻譯: --dev不能用在 custom networks 和genesis blocks. ...

2018-11-07 · 1 min · 88 words · Me

ethereum/client-go

https://geek.ink/forum/detail/34

2018-11-06 · 1 min · word · Me