Command
Service operations ⚙️
Check logs
sudo journalctl -u exrpd -fo cat
Start service
sudo systemctl start exrpd
Stop service
sudo systemctl stop exrpd
Restart service
sudo systemctl restart exrpd
Check service status
sudo systemctl status exrpd
Reload services
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable exrpd
Disable Service
sudo systemctl disable exrpd
Node info
exrpd status 2>&1 | jq
Your node peer
echo $(exrpd tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.exrpd/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Key management
Add New Wallet
exrpd keys add $WALLET
Restore executing wallet
exrpd keys add $WALLET --recover
List All Wallets
exrpd keys list
Delete wallet
exrpd keys delete $WALLET
Check Balance
exrpd q bank balances $WALLET_ADDRESS
Export Key (save to wallet.backup)
exrpd keys export $WALLET
View EVM Prived Key
exrpd keys unsafe-export-eth-key $WALLET
Import Key (restore from wallet.backup)
exrpd keys import $WALLET wallet.backup
Tokens
To valoper addressTo wallet addressAmount, uxrp
Withdraw all rewards
exrpd tx distribution withdraw-all-rewards --from $WALLET --chain-id exrp_1440002-1 --gas auto --gas-adjustment 1.5
Withdraw rewards and commission from your validator
exrpd tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id exrp_1440002-1 --gas auto --gas-adjustment 1.5 -y
Check your balance
exrpd query bank balances $WALLET_ADDRESS
Delegate to Yourself
exrpd tx staking delegate $(exrpd keys show $WALLET --bech val -a) 1000000uxrp --from $WALLET --chain-id exrp_1440002-1 --gas auto --gas-adjustment 1.5 -y
Delegate
exrpd tx staking delegate <TO_VALOPER_ADDRESS> 1000000uxrp --from $WALLET --chain-id exrp_1440002-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 exrp_1440002-1 --gas auto --gas-adjustment 1.5 -y
Unbond
exrpd tx staking unbond $(exrpd keys show $WALLET --bech val -a) 1000000uxrp --from $WALLET --chain-id exrp_1440002-1 --gas auto --gas-adjustment 1.5 -y
Transfer Funds
exrpd tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000uxrp --gas auto --gas-adjustment 1.5 -y
Validator operations
Create New Validator
exrpd tx staking create-validator \
--amount 1000000uxrp \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(exrpd tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "I love blockchain ❤️" \
--chain-id exrp_1440002-1 \
--gas auto --gas-adjustment 1.5 \
-y
Edit Existing Validator
exrpd tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "I love blockchain ❤️" \
--from $WALLET \
--chain-id exrp_1440002-1 \
--gas auto --gas-adjustment 1.5 \
-y
Validator info
exrpd status 2>&1 | jq
Validator Details
exrpd q staking validator $(exrpd keys show $WALLET --bech val -a)
Jailing info
exrpd q slashing signing-info $(exrpd tendermint show-validator)
Slashing parameters
exrpd q slashing params
Unjail validator
exrpd tx slashing unjail --from $WALLET --chain-id exrp_1440002-1 --gas auto --gas-adjustment 1.5 -y
Active Validators List
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
Check Validator key
[[ $(exrpd q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(exrpd status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
Signing info
exrpd q slashing signing-info $(exrpd tendermint show-validator)
Governance
Create New Text Proposal
exrpd tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000uxrp \
--type Text \
--from $WALLET \
--gas auto --gas-adjustment 1.5 \
-y
Proposals List
exrpd query gov proposals
View proposal
exrpd query gov proposal 1
Vote
exrpd tx gov vote 1 yes --from $WALLET --chain-id exrp_1440002-1 --gas auto --gas-adjustment 1.5 -y
Last updated
Was this helpful?