Skip to content

etherlite-org/validator-node-dockerized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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/install/

  2. Clone this repo:

     git clone https://github.com/etherlite-org/validator-node-dockerized
     cd validator-node-dockerized
  3. Download the OpenEthereum From EtherLite Releases.

    curl -L "https://github.com/etherlite-org/openethereum/releases/download/v3.2.2-rc.1/openethereum-ubuntu20.04.zip" -o openethereum.zip
  4. Install unzip to unzip the downloaded OpenEthereum zip.

    apt install -y unzip
  5. Unzip the OpenEthereum zip

    unzip openethereum.zip
  6. Create password file for mining account.

    echo "YOUR-VAL-UNIQUE-PASS" > password
  7. Create your mining account

    ./openethereum account new --keys-path=data/keys --password=password --chain=etherlite
  8. Copy .env.example to .env

    cp .env.example .env
  9. Configure the .env file. There are a few settings you need to define:

    PASSWORD_PATH=/root/password
    EXT_IP=YOUR-EXTERNAL-IP-ADDRESS
    ACCOUNT=0x...
    
    • EXT_IP - External IP of the current server.
    • ACCOUNT - Your mining address (with leading 0x).
  10. Start your node.

    docker-compose up -d

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages