🛠️CLI Cheatsheet
Check logs
sudo journalctl -u atomoned -fo cat
Start service
sudo systemctl start atomoned
Stop service
sudo systemctl stop atomoned
Restart service
sudo systemctl restart atomoned
Check service status
sudo systemctl status atomoned
Reload services
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable atomoned
Disable Service
sudo systemctl disable atomoned
Node info
atomoned status 2>&1 | jq
Add New Wallet
atomoned keys add WALLET
Restore executing wallet
atomoned keys add WALLET --recover
List All Wallets
atomoned keys list
Delete wallet
atomoned keys delete WALLET
Check Balance
atomoned q bank balances WALLET_ADDRESS
Delegate Yourself
atomoned tx staking delegate $(atomoned keys show WALLET --bech val -a) 1000000uatone --from WALLET --chain-id atomone-1 --gas auto --gas-adjustment 1.5 --fees 60000uphoton -y
Create New Validator
atomoned tx staking create-validator \
--amount 1000000uatone \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(atomoned tendermint show-validator) \
--moniker "Moniker-Name" \
--identity "KeyBase" \
--details "Node Details" \
--chain-id atomone-1 \
--gas auto --gas-adjustment 1.5 --fees 60000uphoton \
-y
Edit Existing Validator
atomoned tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "Moniker-Name" \
--identity "KeyBase" \
--details "Node Details" \
--from $WALLET \
--chain-id atomone-1 \
--gas auto --gas-adjustment 1.5 --fees 60000uphoton \
-y
Delete node
sudo systemctl stop atomoned
sudo systemctl disable atomoned
sudo rm -rf /etc/systemd/system/atomoned.service
sudo rm $(which atomoned)
sudo rm -rf $HOME/.atomone
sed -i "/ATOMONE_/d" $HOME/.bash_profile
Last updated