1. Automatic Installation
wget -O autoinstall.sh https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6kqmm2W774JgeIp0vjq9%2Fuploads%2FWZ3ZuL6k2Hi6p3i1CFBr%2Fautoinstall.sh?alt=media&token=5abf9868-1fbe-48e6-8745-809a3acd80d2
journalctl -fu mantrachaind -o cat
mantrachaind status 2>&1 | jq .SyncInfo
source $HOME/.bash_profile
mantrachaind keys add $WALLET
mantrachaind keys add $WALLET --recover
MANTRA_WALLET_ADDRESS=$(mantrachaind keys show $WALLET -a)
MANTRA_VALOPER_ADDRESS=$(mantrachaind keys show $WALLET --bech val -a)
echo 'export MANTRA_WALLET_ADDRESS='${MANTRA_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export MANTRA_VALOPER_ADDRESS='${MANTRA_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profile
mantrachaind q bank balances $MANTRA_WALLET_ADDRESS
mantrachaind tx staking create-validator \
--amount 10000000uaum \
--from $WALLET \
--commission-max-change-rate "0.01" \
--commission-max-rate "0.2" \
--commission-rate "0.10" \
--min-self-delegation "1" \
--pubkey $(mantrachaind tendermint show-validator) \
--moniker $NODENAME \
--chain-id $MANTRA_CHAIN_ID
--gas-adjustment 1.4 \
--gas=auto \
-y
mantrachaind tx staking edit-validator \
--new-moniker=$NODENAME \
--identity=<id> \
--website="<link>" \
--details="<desc>" \
--chain-id=$MANTRA_CHAIN_ID \
--from=$WALLET
mantrachaind tx slashing unjail --broadcast-mode sync --from $WALLET --chain-id $MANTRA_CHAIN_ID --gas auto --gas-adjustment 1.4
sudo systemctl stop mantrachaind
sudo systemctl disable mantrachaind
sudo rm /etc/systemd/system/mantrachaind.service
sudo systemctl daemon-reload
rm -f $(which mantrachaind)
rm -rf .mantrachain
rm -rf mantrachaind