Giter VIP home page Giter VIP logo

abc's Introduction

Full Private Network (POA) with Geth-Clique

This Repostory contains:

  1. Bootnode
  2. 2 Signers with Clique
  3. 2 Clients with WS/HTTP open
  4. Blockscout with Adaptations
  5. Light-Explorer
  6. Ethstats-Dashboard

Quickstart

You need to have Docker installed. Then you can simply do:

docker-compose up

Why?

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.

  1. This docker-compose file boots up a bootnode.
  2. Then two signers are connecting through DNS. No static IPs
  3. Then two clients are connecting as well.
  4. After the system is started, the explorers are attaching to the nodes
  5. 이 docker-compose 파일은 부트노드를 부팅합니다.
  6. 그러면 두 명의 서명자가 _DNS_를 통해 연결됩니다. 고정 IP 없음
  7. 그러면 두 클라이언트도 연결됩니다.
  8. 시스템이 시작된 후 탐험가가 노드에 연결됩니다.

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를 배포해야 하는 경우 대부분의 작업이 여기에서 완료됩니다.

From Development to Production

Change the values in the .env file and potentially adapt the values in docker-compose.yml .env 파일의 값을 변경하고 잠재적으로 docker-compose.yml의 값을 조정합니다.

Services

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

License

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

abc's People

Contributors

c4ei avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.