to check logs of your node
sudo journalctl -u crossfid -f
to start your node service
sudo systemctl start crossfid
Stop service
sudo systemctl stop crossfid
Restart node
sudo systemctl restart crossfid
to check sync status
crossfid status 2>&1 | jq .SyncInfo
Node info
crossfid status 2>&1 | jq .NodeInfo
show node ID
crossfid tendermint show-node-id
delete wallet
crossfid keys delete $WALLET
to check wallet balance
crossfid q bank balances $(crossfid keys show $WALLET -a)
transfer funds to another wallet
crossfid tx bank send $CROSSFI_WALLET_ADDRESS <TO_CROSSFI_WALLET_ADDRESS> 1000000mpx --gas auto --gas-adjustment 1.5 --gas-prices 10000000000000mpx
View evm priv key
crossfid keys unsafe-export-eth-key $WALLET
Withdraw all rewards
crossfid tx distribution withdraw-all-rewards --from $WALLET --chain-id crossfi-evm-testnet-1 --gas auto --gas-adjustment 1.5 --gas-prices 10000000000000mpx
withdraw rewards and comission 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 --gas-prices 10000000000000mpx -y
check your balance
crossfid query bank balances $WALLET_ADDRESS
delegate to your self
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 --gas-prices 10000000000000mpx -y
delegate
crossfid tx staking delegate <TO_VALOPER_ADDRESS> 1000000mpx --from $WALLET --chain-id crossfi-evm-testnet-1 --gas auto --gas-adjustment 1.5 --gas-prices 10000000000000mpx -y
redelegate stake to another validator
crossfid tx staking delegate <TO_VALOPER_ADDRESS> 1000000mpx --from $WALLET --chain-id crossfi-evm-testnet-1 --gas auto --gas-adjustment 1.5 --gas-prices 10000000000000mpx -y
unbound stake
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 --gas-prices 10000000000000mpx -y
transfer funds
crossfid tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000mpx --gas auto --gas-adjustment 1.5 --gas-prices 10000000000000mpx -y
Edit exsisting validator
you can edit your validator using this command
crossfid --home ${DAEMON_HOME} tx staking edit-validator
--moniker="${MONIKER}" \
--website="${WEBSITE}" \
--identity=${DISPLAY_PIC} \
--details="${DETAILS}" \
--chain-id="crossfi-evm-testnet-1" \
--gas="auto" \
--gas-prices="10000000000000mpx" \
--gas-adjustment=1.5 \
--from=<key_name> \
--commission-rate="0.10"
validator details
crossfid q staking validator $(crossfid keys show $WALLET --bech val -a)
jailing info
crossfid q slashing signing-info $(crossfid tendermint show-validator)
unjail validator
crossfid tx slashing unjail --from $WALLET --chain-id crossfi-evm-testnet-1 --gas auto --gas-adjustment 1.5 --gas-prices 10000000000000mpx -y
active set validator
crossfid 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 keys
[[ $(crossfid q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(crossfid status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"