Creating validator

Create Wallet

this command generate new wallet remember to save the mnemoic

tacchaind keys add $WALLET

Add Exsisting Wallet

tacchaind keys add $WALLET --recover

Save wallet and validator address

WALLET_ADDRESS=$(tacchaind keys show $WALLET -a)
VALOPER_ADDRESS=$(tacchaind keys show $WALLET --bech val -a)
echo "export WALLET_ADDRESS="$WALLET_ADDRESS >> $HOME/.bash_profile
echo "export VALOPER_ADDRESS="$VALOPER_ADDRESS >> $HOME/.bash_profile
source $HOME/.bash_profile

check sync status with this bellow command. if your node is fully synced, the output is catching up =false

tacchaind status 2>&1 | jq 

before creating your validator your wallet must have fund you can check your wallet balance with this command

tacchaind query bank balances $WALLET_ADDRESS 

Check your pubkey

tacchaind tendermint show-validator

Create validator.json file

nano $HOME/.tacchaind/validator.json
{
  "pubkey": {fill with your pubkey},
  "amount": "1000000utac",
  "moniker": "your moniker name",
  "identity": "",
  "website": "",
  "security": "your e-mail",
  "details": "Stake With Us And Stay Lazy Rich..!",
  "commission-rate": "0.05",
  "commission-max-rate": "0.1",
  "commission-max-change-rate": "0.05",
  "min-self-delegation": "1"
}
lumerad tx staking create-validator $HOME/.tacchaind/validator.json \
--from $WALLET \
--chain-id.tacchaind-protocol-1 \
--gas-prices=5000000000000utac \
--gas-adjustment=1.5 \
--gas=auto
-y

And booom...!! your Validator has been up 🎉

Last updated