This Repostory contains:
- Bootnode
- 2 Signers with Clique
- 2 Clients with WS/HTTP open
- Blockscout with Adaptations
- Light-Explorer
- Ethstats-Dashboard
You need to have Docker installed. Then you can simply do:
docker-compose up
Development with Geth/POA is still pretty hard. There are a few tools out there to help, but nothing is really turn-key. And if, they rely on patterns that are simply not preferrable.
- This docker-compose file boots up a bootnode.
- Then two signers are connecting through DNS. No static IPs
- Then two clients are connecting as well.
- After the system is started, the explorers are attaching to the nodes
- 이 docker-compose 파일은 부트노드를 부팅합니다.
- 그러면 두 명의 서명자가 _DNS_를 통해 연결됩니다. 고정 IP 없음
- 그러면 두 클라이언트도 연결됩니다.
- 시스템이 시작된 후 탐험가가 노드에 연결됩니다.
Everything works through environment variables. So, if you need to deploy geth to AWS for your private network, then the bulk of work is done here. 모든 것은 환경 변수 를 통해 작동합니다. 따라서 프라이빗 네트워크를 위해 AWS에 geth를 배포해야 하는 경우 대부분의 작업이 여기에서 완료됩니다.
Change the values in the .env file and potentially adapt the values in docker-compose.yml .env 파일의 값을 변경하고 잠재적으로 docker-compose.yml의 값을 조정합니다.
All services are reachable through portforwarding to localhost:
Client 1: -> http://localhost:8545 -> ws://localhost:8546
Client 2: -> http://localhost:8547 -> ws://localhost:8548
Explorer starts on http://localhost:8080
AlethIO Lite Explorer starts on http://localhost:8081
Blockscout starts on http://localhost:8082
Ethstats Dashboard starts on http://localhost:8083
The MIT License
Copyright (c) 2022 Morpher
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE