Cheatsheets
note
If you have installed from our guide, you do not need to make any changes in the codes below unless stated otherwise.
Service Operationsβ
Checking Logsβ
journalctl -fu babylond -o cat
Starting Nodeβ
systemctl start babylond
Stopping the Nodeβ
systemctl stop babylond
Restarting the Nodeβ
systemctl restart babylond
Node Sync Statusβ
babylond status 2>&1 | jq .SyncInfo
Node Informationβ
babylond status 2>&1 | jq .NodeInfo
Learning Node IDβ
babylond tendermint show-node-id
Learning Node IP Addressβ
curl icanhazip.com
Your node peerβ
echo $(babylond tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.babylond/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Wallet Managementβ
Viewing the List of Walletsβ
babylond keys list
Seeing Wallet Addressβ
babylond keys show $BBN_WALLET --bech val -a
Importing Walletβ
babylond keys add $BBN_WALLET --recover
Deleting Your Walletβ
babylond keys delete $BBN_WALLET
Checking Wallet Balanceβ
babylond query bank balances $BBN_WALLET_ADDRESS
Tokensβ
Transferring from One Wallet to Anotherβ
babylond tx bank send $BBN_WALLET_ADDRESS SENDING_CUZDAN_ADRESI 100000000ubbn
Participating in Proposal Votingβ
babylond tx gov vote 1 yes --from $BBN_WALLET --chain-id=$BBN_CHAIN_ID --gas-prices 0.00001ubbn --gas-adjustment 1.5 --gas auto -y
Validatore Staking / Delegationβ
babylond tx staking delegate $BBN_VALOPER_ADDRESS 100000000ubbn --from=$BBN_WALLET --chain-id=$BBN_CHAIN_ID --gas-prices 0.00001ubbn --gas-adjustment 1.5 --gas auto -y
Unbondingβ
babylond tx staking unbond $(babylond keys show $BBN_WALLET --bech val -a) 1000000ubbn --from $BBN_WALLET --chain-id indigo-1 --fees 3000ubbn -y
Staking / Redelegate from Current Validator to Other Validatorβ
srcValidatorAddress
: Address of the current staked validator
destValidatorAddress
: Address of the new validator to be staked
babylond tx staking redelegate srcValidatorAddress destValidatorAddress 100000000ubbn --from=$BBN_WALLET --chain-id=$BBN_CHAIN_ID --gas-prices 0.00001ubbn --gas-adjustment 1.5 --gas auto -y
Withdraw Rewardsβ
babylond tx distribution withdraw-all-rewards --from=$BBN_WALLET --chain-id=$BBN_CHAIN_ID --gas-prices 0.00001ubbn --gas-adjustment 1.5 --gas auto -y
Withdrawing Commission Rewardsβ
babylond tx distribution withdraw-rewards $BBN_VALOPER_ADDRESS --from=$BBN_WALLET --commission --chain-id=$BBN_CHAIN_ID --gas-prices 0.00001ubbn --gas-adjustment 1.5 --gas auto -y