CLI Cheatsheet
Useful Commands
to check logs of your node
sudo journalctl -u exrpd -fto start your node service
sudo systemctl start exrpdStop service
sudo systemctl stop exrpdRestart node
sudo systemctl restart exrpdto check sync status
exrpd status 2>&1 | jq .SyncInfoNode info
exrpd status 2>&1 | jq .NodeInfoshow node ID
exrpd tendermint show-node-iddelete wallet
exrpd keys delete $WALLETto check wallet balance
exrpd q bank balances $(achillesd keys show $WALLET -a)transfer funds to another wallet
exrpd tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000uxrp --gas auto --gas-adjustment 1.5 -y View evm priv key
exrpd keys unsafe-export-eth-key $WALLETWithdraw all rewards
exrpd tx distribution withdraw-all-rewards --from $WALLET --chain-id xrplevm_1449000-1 --gas auto --gas-adjustment 1.5 withdraw rewards and comission from your validator
exrpd tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id xrplevm_1449000-1 --gas auto --gas-adjustment 1.5 -y check your balance
exrpd query bank balances $WALLET_ADDRESSdelegate to your self
exrpd tx staking delegate $(exrpd keys show $WALLET --bech val -a) 1000000uxrp --from $WALLET --chain-id xrplevm_1449000-1 --gas auto --gas-adjustment 1.5 -y redelegate stake to another validator
exrpd tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000uxrp --from $WALLET --chain-id xrplevm_1449000-1 --gas auto --gas-adjustment 1.5 -y unbound stake
exrpd tx staking unbond $(exrpd keys show $WALLET --bech val -a) 1000000uxrp --from $WALLET --chain-id xrplevm_1449000-1 --gas auto --gas-adjustment 1.5 -y validator details
exrd q staking validator $(exrpd keys show $WALLET --bech val -a)jailing info
exrpd q slashing signing-info $(exrpd tendermint show-validator)unjail validator
exrpd tx slashing unjail --from $WALLET --chain-id xrplevm_1449000-1 --gas auto --gas-adjustment 1.5 -y active set validator
exrpd q staking validators -oj --limit=2000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " " + .description.moniker' | sort -gr | nl Delete Node
sudo systemctl stop exrpd
sudo systemctl disable exrpd
sudo rm -rf /etc/systemd/system/exrpd.service
sudo rm $(which exrpd)
sudo rm -rf $HOME/.exrpd
sed -i "/XRPL_/d" $HOME/.bash_profileLast updated