Skip to content

📑 Paxi Cheat Sheet

🔧 Service Operations

Check logs

sudo journalctl -u paxid -fo cat

Check service status

sudo systemctl status paxid

Node info

paxid status 2>&1 | jq

Start service

sudo systemctl start paxid

Stop service

sudo systemctl stop paxid

Restart service

sudo systemctl restart paxid

Reload services

sudo systemctl daemon-reload

Enable service

sudo systemctl enable paxid

Disable service

sudo systemctl disable paxid

🔑 Key Management

Add New Wallet

paxid keys add $WALLET

Restore executing wallet

paxid keys add $WALLET --recover

List All Wallets

paxid keys list

Delete wallet

paxid keys delete $WALLET

Check Balance

paxid q bank balances $WALLET_ADDRESS

Export Key (save to wallet.backup)

paxid keys export $WALLET

View EVM Private Key

paxid keys unsafe-export-eth-key $WALLET

Import Key (restore from wallet.backup)

paxid keys import $WALLET wallet.backup

💰 Tokens

Withdraw all rewards

paxid tx distribution withdraw-all-rewards --from $WALLET --chain-id paxi-mainnet --gas auto --gas-adjustment 1.5 --fees 15000upaxi -y

Withdraw rewards and commission from your validator

paxid tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id paxi-mainnet --gas auto --gas-adjustment 1.5 --fees 15000upaxi -y

Check your balance

paxid query bank balances $WALLET_ADDRESS

Delegate to Yourself

paxid tx staking delegate $(paxid keys show $WALLET --bech val -a) 1000000upaxi --from $WALLET --chain-id paxi-mainnet --gas auto --gas-adjustment 1.5 --fees 15000upaxi -y

Delegate

paxid tx staking delegate <TO_VALOPER_ADDRESS> 1000000upaxi --from $WALLET --chain-id paxi-mainnet --gas auto --gas-adjustment 1.5 --fees 15000upaxi -y

Redelegate Stake to Another Validator

paxid tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000upaxi --from $WALLET --chain-id paxi-mainnet --gas auto --gas-adjustment 1.5 --fees 15000upaxi -y

Unbond

paxid tx staking unbond $(paxid keys show $WALLET --bech val -a) 1000000upaxi --from $WALLET --chain-id paxi-mainnet --gas auto --gas-adjustment 1.5 --fees 15000upaxi -y

Transfer Funds

paxid tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000upaxi --gas auto --gas-adjustment 1.5 --fees 15000upaxi -y

🛡️ Validator Operations

Validator info

paxid status 2>&1 | jq

Validator Details

paxid q staking validator $(paxid keys show $WALLET --bech val -a)

Jailing info

paxid q slashing signing-info $(paxid tendermint show-validator)

Slashing parameters

paxid q slashing params

Unjail validator

paxid tx slashing unjail --from $WALLET --chain-id paxi-mainnet --gas auto --gas-adjustment 1.5 --fees 15000upaxi -y

Active Validators List

paxid 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

[[ $(paxid q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(paxid status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"

Signing info

paxid q slashing signing-info $(paxid tendermint show-validator)

Edit Validator

paxid tx staking edit-validator \
--commission-rate 0.05 \
--new-moniker "$MONIKER" \
--identity "" \
--details "Kyronode for all" \
--from $WALLET \
--chain-id paxi-mainnet \
--fees 15000upaxi \
-y

🏛 Governance

Proposals List

paxid query gov proposals

View proposal

paxid query gov proposal 1

Vote

paxid  tx gov vote 1 yes --from $WALLET --chain-id paxi-mainnet --gas auto --gas-adjustment 1.5 --fees 15000upaxi -y