Cheat Sheet
If you use our auto-installation, we've included several scripts like:
./list_keys_mainnet.sh
./check_balance_mainnet.sh
./create_validator_mainnet.sh
./unjail_validator_mainnet.sh
./check_validator_mainnet.sh
./start_crossfi_mainnet.sh
./check_log_mainnet.shHere's other useful commands you might need
⚙️Service operations
Check logs
sudo journalctl -fu crossfi-mainnetCheck service status
sudo systemctl status crossfi-mainnetReload service
sudo systemctl daemon-reloadEnable service
sudo systemctl enable crossfi-mainnetDisable service
sudo systemctl disable crossfi-mainnetStart service
sudo systemctl start crossfi-mainnetStop service
sudo systemctl stop crossfi-mainnetRestart service
sudo systemctl status crossfi-mainnet🖥️Node operations
Node info
crossfid status 2>&1 | jq .NodeInfoSync info
crossfid status 2>&1 | jq .SyncInfoAdd new wallet
crossfid keys add $WALLETRestore wallet
crossfid keys add $WALLET --recoverList all wallets
crossfid keys listCheck balance
crossfid q bank balances $(crossfid keys show $WALLET -a)💱Transaction operations
Withdraw all rewards
crossfid tx distribution withdraw-all-rewards --from $WALLET --chain-id mineplex-mainnet-1 --gas auto --gas-adjustment 1.5 --gas-prices 5000000000000mpxSelf delegate
crossfid tx staking delegate $(crossfid keys show $WALLET --bech val -a) 1000000mpx --from $WALLET --chain-id mineplex-mainnet-1 --gas auto --gas-adjustment 1.5 --gas-prices 5000000000000mpx -yUnbond
crossfid tx staking unbond $(crossfid keys show $WALLET --bech val -a) 1000000mpx --from $WALLET --chain-id mineplex-mainnet-1 --gas auto --gas-adjustment 1.5 --gas-prices 5000000000000mpx -yTransfer token
crossfid tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000mpx --gas auto --gas-adjustment 1.5 --gas-prices 5000000000000mpx -y✅Validator operations
Create validator
crossfid tx staking create-validator \
--amount 1000000mpx \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(crossfid tendermint show-validator) \
--moniker "$MONIKER" \
--identity "put your keybase pgp here" \
--details "anything you want to say here" \
--chain-id mineplex-mainnet-1 \
--gas auto --gas-adjustment 1.5 --gas-prices 5000000000000mpx \
-yEdit validator
crossfid tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "put your keybase pgp here" \
--details "anything you want to say here" \
--from $WALLET \
--chain-id mineplex-mainnet-1 \
--gas auto --gas-adjustment 1.5 --gas-prices 5000000000000mpx \
-yLast updated
Was this helpful?