Launch a Validator Node

How to launch Etherlite validator node with Docker Compose and OpenEthereum

    1.
    Install Docker Engine and Docker Compose following the original instructions https://docs.docker.com/get-docker/ and https://docs.docker.com/compose/instal/
    2.
    Clone this repo:
    1
    git clone https://github.com/etherlite-org/validator-node-dockerized
    2
    cd validator-node-dockerized
    Copied!
    3.
    To be a validator, you need to download the binary from official etherlite
    1
    apt install -y unzip
    2
    curl -L "https://github.com/etherlite-org/openethereum/releases/download/v3.2.2-rc.1/openethereum-ubuntu20.04.zip" -o openethereum.zip
    3
    unzip openethereum.zip
    Copied!
    4.
    Create password file for mining account.
    1
    nano password
    Copied!
    5.
    Create your mining account
    1
    openethereum account new --keys-path=data/keys --password=password --chain=etherlite
    Copied!
    6.
    Copy .env.example to .env and configure the .env file. There are a few settings you need to define:
    1
    PASSWORD_PATH=/root/password
    2
    EXT_IP=YOUR-EXTERNAL-IP-ADDRESS
    3
    ACCOUNT=0x...
    Copied!
      EXT_IP - External IP of the current server.
      ACCOUNT - Your mining address (with leading 0x).
    7.
    Start your node.
    1
    docker-compose up -d
    Copied!
After docker containers are created, the node will sync with the chain (may take a while).
To restart you need to use docker-compose stop and docker-compose start being in the validator-node-dockerized directory.
Last modified 3mo ago
Copy link