Echelon
Searchโ€ฆ
๐Ÿฆฎ
Tutorials

Echelon Validator Setup Tutorial

You can use the following guide to setup an Echelon validator on hardware that meets the Node Requirements. Follow the steps with the commands below on any Linux system.

Login as root user for permissions

sudo apt update
sudo apt upgrade
sudo apt install git snap snapd gcc g++ make
sudo snap install go --channel=1.18/stable --classic
sudo adduser echelon
sudo usermod -aG sudo echelon

Logoff root user login as echelon user

Clone and compile echelond, Run these commands:
git clone https://github.com/echelonfoundation/echelon
cd echelon
make install
sudo cp ~/go/bin/echelond /usr/local/bin/echelond

Setup echelond Genesis and Peers, Run these commands:

cd ~
echelond config chain-id echelon_3000-3
echelond config keyring-backend file
echelond init <validator_name> --chain-id echelon_3000-3
cd ~/.echelond/config
sudo mv genesis.json gen.old
sudo wget https://gist.githubusercontent.com/echelonfoundation/ee862f58850fc1b5ee6a6fdccc3130d2/raw/55c2c4ea2fee8a9391d0dc55b2c272adb804054a/genesis.json
cd ~

Setup systemd

Edit this file:
sudo nano /etc/systemd/system/echelond.service
Input the below into this file and save it!
[Unit]
Description=Echelon Node
After=network.target
โ€‹
[Service]
Type=simple
User=echelon
WorkingDirectory=/home/echelon/.echelond
ExecStart=/usr/local/bin/echelond start
Restart=on-failure
RestartSec=3
LimitNOFILE=4096
โ€‹
[Install]
WantedBy=multi-user.target
sudo systemctl start echelond
sudo systemctl status echelond
sudo systemctl enable echelond

Setup wallet (Write this down it is your wallet addy + mnemonic phrase )

echelond keys add <keyname> --keyring-backend=file

Check if funds arrived

echelond query bank balances <echelon1address> --keyring-backend=file
Once funds are sent in, example below is using 1000000 ECH, replace with your validator name, and with your ECH address you just sent to.

Start validator

echelond tx staking create-validator --amount=1000000000000000000000000aechelon --pubkey=$(echelond tendermint show-validator) --moniker="<validatorname>" --from=<echelon1address> --min-self-delegation="1" --commission-max-change-rate="0.01" --commission-max-rate="0.20" --commission-rate="0.05" --chain-id=echelon_3000-3 --keyring-backend=file

Other Notes

If keyring fails, recover it with
echelond keys add --recover
To watch echelond logs
sudo journalctl -u echelond -f
Copy link
On this page
Echelon Validator Setup Tutorial
Other Notes