One-click deployment of an Ethereum "Proof of Authority" blockchain on docker.
Currently, the script deploys a five-node "Proof of Authority" network with two RPC endpoints and two pre-funded accounts.
- Only tested on an Ubuntu 22.04 LTS.
- If you are running on a different Linux distro, you might need to install dependencies manually.
- If you are on Windows, you must manually install dependencies, initialize the nodes, and edit the "docker-compose.yml" accordingly. (Which means THIS IS NOT FOR WINDOWS).
- Execute the "installDeps.sh" with root privileges to ensure all the dependencies are installed.
- Edit the "CHAINID" value as desired (111222333 by default).
- Execute the "initialize.sh" to create nodes and accounts and it will initialize nodes with a generated "genesis.json" file (Edit "genesis.json" after initialization will not do any changes).
- Edit the "docker-compose.yml" file to match your requirements (OPTIONAL, and if doing so, KNOW WHAT YOU DOING!).
- Execute "docker-compose-up" to start the network.
- All required information will be stored in the "chainInfo" file.