MANTRA Chain
- Documentation
- Explorer
- [Phase 2]
wget -O autoinstall.sh https://raw.githubusercontent.com/catsmile100/Validator-Testnet/main/Mantra%20Chain/autoinstall.sh && chmod +x autoinstall.sh && ./autoinstall.sh
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
Delegate
mantrachaind tx staking delegate $VALOPER_ADDRESS 10000000uaum --from $WALLET --chain-id $MANTRA_CHAIN_ID --fees 5000uaum
Redelegate
mantrachaind tx staking redelegate $VALOPER_ADDRESS <dst-validator-operator-addr> 100000000uaum --from=$WALLET --chain-id=$MANTRA_CHAIN_ID
Withdraw
mantrachaind tx distribution withdraw-all-rewards --from=$WALLET --chain-id=$MANTRA_CHAIN_ID