Network
Cosmos
Crossfi
Chetasheet

Service operations

#Check Logs
sudo journalctl -f -u crossfid
 
#Start service
sudo systemnctl start crossfid
 
#Restart Service
sudo systemnctl restart crossfid
 
withdraw all reward
crossfid tx distribution withdraw-all-rewards --from $WALLET --chain-id crossfi-evm-testnet-1 --gas auto --gas-adjustment 1.5 --fees 10000000000000mpx 
Withdraw rewards and commission from your validator
crossfid tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id crossfi-evm-testnet-1 --gas auto --gas-adjustment 1.5 --fees 10000000000000mpx -y 
Check wallet balance
crossfid query bank balances $WALLET
Delegate to the validator itself
crossfid tx staking delegate $(crossfid keys show $WALLET --bech val -a) 1000000mpx  --from $WALLET --chain-id crossfi-evm-testnet-1 --gas auto --gas-adjustment 1.5 --fees 10000000000000mpx -y 
Redelegate to other validators
crossfid tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000mpx  --from $WALLET --chain-id crossfi-evm-testnet-1 --gas auto --gas-adjustment 1.5 --fees 10000000000000mpx -y 
Unbond
crossfid tx staking unbond $(crossfid keys show $WALLET --bech val -a) 1000000mpx  --from $WALLET --chain-id crossfi-evm-testnet-1 --gas auto --gas-adjustment 1.5 --fees 10000000000000mpx -y 
Transfer Funds
crossfid tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000mpx  --gas auto --gas-adjustment 1.5 --fees 10000000000000mpx -y 

KEY MANAGEMENT

Create Wallet
crossfid keys add $WALLET
Recover Existing Wallet
crossfid keys add $WALLET --recover
Check All Available Wallet
crossfid keys list
Check wallet funds
crossfid q bank balances $WALLET_ADDRESS 

VALIDATOR INFORMATION

create a 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 \
--security-contact ""\
--pubkey $(crossfid tendermint show-validator) \
--moniker $MONIKER \
--identity "" \
--details "a validator blockchain" \
--chain-id crossfi-evm-testnet-1 \
--gas auto \
--gas-adjustment 1.5 \
--fees 10000000000000mpx
edit existing validator
crossfid tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker $MONIKER \
--identity "" \
--details "a validator blockchain" \
--from $WALLET \
--chain-id crossfi-evm-testnet-1 \
--gas auto \
--gas-adjustment 1.5 \
--fees 10000000000000mpx \
-y 
validator status/info
crossfid status 2>&1 | jq
Unjail validator
crossfid tx slashing unjail --from $WALLET --chain-id crossfi-evm-testnet-1 --gas auto --gas-adjustment 1.5 --fees 10000000000000mpx -y