๐ŸŒ 4. Configure Your Node

๐Ÿงพ Step 1: Replace the Genesis File

Delete the auto-generated genesis file and other files as well :

rm -rf  $HOME/.qieMainnetNode/config/genesis.json
rm -rf  $HOME/.qieMainnetNode/config/config.toml
rm -rf  $HOME/.qieMainnetNode/config/client.toml
rm -rf  $HOME/.qieMainnetNode/config/app.toml

๐Ÿงพ Step 2: Replace the Genesis File and others.

cp -r $HOME/QIEV3Mainnet/genesis.json $HOME/.qieMainnetNode/config
cp -r $HOME/QIEV3Mainnet/config.toml $HOME/.qieMainnetNode/config
cp -r $HOME/QIEV3Mainnet/client.toml $HOME/.qieMainnetNode/config
cp -r $HOME/QIEV3Mainnet/app.toml $HOME/.qieMainnetNode/config

Then, copy the genesis.json and other Necesories files from your existing Node 1 and place it here.


๐Ÿงพ Step 3: Set a Name for Your Validator Node

To personalize and identify your validator node on the QIE Mainnet, you need to set a unique name (moniker). This name will be visible on the QIE Validators Page.

๐Ÿ”ง Edit the Configuration File

Run the following command to open the configuration file in the terminal:

nano $HOME/.qieMainnetNode/config/config.toml

Inside the file, locate the following line :

moniker = "<Add_your_name>"

Replace "<Add_your_name>" with your preferred unique node name. This will serve as your validator identity on the network.

๐Ÿ’ก Tip: Choose a recognizable and meaningful name, especially if you plan to become a validator.

๐Ÿ’พ Save and Exit

After editing the line:

  1. Press Ctrl + X to exit.

  2. Press Y to confirm saving the changes.

  3. Hit Enter to finalize and close the file.

Your node name has now been successfully updated!

Last updated