Skip to content

Create genesis data for running a custom testnet/devnet.

Notifications You must be signed in to change notification settings

rust-util-collections/EGG

 
 

Repository files navigation

Eth-Genesis-Generator

NOTE: This tool can only run on recent versions of Ubuntu/Debian/Fedora Linux by default.

Custom configrations

cp custom.env.example custom.env

# write your own settings
vi custom.env

Build on default OS platforms(Ubuntu/Debian/Fedora Linux)

make prepare # execute once
make build # execute every time

OR

make # "make prepare + make build"

Build on custom OS platforms

Manually install system dependencies based on your OS platform:

# Ubuntu example
apt install --no-install-recommends -y \
    golang ca-certificates build-essential \
    python3 python3-dev python3-venv python3-pip \
    gettext-base jq wget curl

# Fedora example
dnf install -y golang ca-certificates \
        python3 python3-devel python3-pip \
        make pkg-config gcc gcc-c++ kernel-devel gettext jq wget curl

# Gentoo/Redhat/Suse ...
# ...
# Your installation commands equivalent to the above two OSs are
# ...

Prapare:

# Use `make prepare_minimal` instead of `make prepare`
make perpare_minimal

Build:

make build

About

Create genesis data for running a custom testnet/devnet.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.6%
  • Shell 12.1%
  • Makefile 0.3%