Setting up a validator
How to set up a validator in shentud
Pre-Requisites
Setting up the Validator from scratch
wget https://raw.githubusercontent.com/ShentuChain/mainnet/main/shentu-2.2/genesis.json.mv genesis.json ~/.shentud/config/genesis.jsonseeds = "bc9bbcae77a09b41417f597965f6fcbb8b280892@52.71.99.85,fd2944af442b18dab4ce50d8e001816a38490d56@54.158.108.97,3edd4e16b791218b623f883d04f8aa5c3ff2cca6@shentu-seed.panthea.eu:36656"[Unit] Description=Shentud Daemon After=network-online.target [Service] User=ubuntu ExecStart=/home/ubuntu/shentud start --home /home/ubuntu/.shentud Restart=always RestartSec=3 LimitNOFILE=4096 [Install] WantedBy=multi-user.targetsudo systemctl enable shentud sudo systemctl start shentudshentud tx staking create-validator \ --amount <your-amount-to-stake>uctk \ --commission-max-change-rate 0.01 \ --commission-max-rate 0.2 \ --commission-rate 0.1 \ --from <your-wallet-name> \ --min-self-delegation 1 \ --moniker <your-moniker> \ --pubkey $(shentud tendermint show-validator) \ --chain-id shentu-2.2 \ --fees 5000uctk
Last updated