GithubHelp home page GithubHelp logo

nimbus-docker's Introduction

Nimbus Docker

A validator setup using nimbus and besu which can be exectuded via docker compose.

How to use

  1. First copy the default.env to a .env and change the configuration as needed.

    $ cp default.env .env
  2. Create data directories as specified in the .env. This can be done by executing:

    # Elevated priviliges are needed to set correct ownership and permissions.
    $ sudo ./create-data-directories.sh $(whoami)
    
    # Option 2:
    # Create data directories and set permissions manually e.g.
    # $ mkdir -p data/besu
    # $ mkdir -p data/nimbus
    # Set permissions as described in here: https://nimbus.guide/data-dir.html#permissions
  3. Generate a JWT secret for authentication between the beacon and execution node.

    $ openssl rand -hex 32 | tr -d "\n" > ./secrets/jwtsecret

    (Optional) Create a keymanagertoken token file for accessing the keymanager API

    $ openssl rand -hex 32 | tr -d "\n" > ./secrets/keymanagertoken
  4. Import your validator keys when deciding to run a validator. This can be done by placing your validator keys in the validator_keys/ directory and by executing:

    # You'll be asked to enter the password you created to encrypt your keystore(s).
    $ ./import-validator-keys.sh
  5. Copy nimbus-config/default-config.toml to nimbus-config/config.toml and set your fee recipient address in nimbus-config/config.toml.

  6. Copy besu-config/default-config.toml to besu-config/config.toml and set your fee recipient address in besu-config/config.toml.

  7. (Optionally) Start trusted node sync (before set a trusted URL in .env) by executing:

    $ ./init-trusted-node-sync.sh
  8. Start by running:

    $ ./start.sh

Update services

For updating services simply execute:

$ ./start.sh

nimbus-docker's People

Contributors

dabauxi avatar etimoz avatar justindrake avatar

Watchers

 avatar  avatar

Forkers

justindrake

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.