Skip to content

Init Chain

Before starting the chain, a genesis file needs to be created and the configurations files need to be updated.

Set up the genesis and config files

Running the init-chain command will set up the genesis file and update the configuration files so the ports do not conflict with the rest of your network.

The command requires an integer as a parameter that represents the amount of validator that will be set up.

hanchond playground init-chain 1 --client evmos --version local
Node added with ID: 1
Node added with ID: 2
New chain created with id: 1