Service operations
Check logs
sudo journalctl -u crossfid -f
Start service
sudo systemctl start crossfid
Stop service
sudo systemctl stop crossfid
Restart service
sudo systemctl restart crossfid
Sync info
crossfid status 2>&1 | jq -r '.SyncInfo // .sync_info'
Check service status
sudo systemctl status crossfid
Reload services
sudo systemctl daemon-reload
Enable Service
sudo systemctl enable crossfid
Disable Service
sudo systemctl disable crossfid
Node info
crossfid status 2>&1 | jq -r '.NodeInfo // .node_info'
Your node peer
echo $(crossfid tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.mineplex-chain/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Key management
Add New Wallet
crossfid keys add $WALLET
Restore executing wallet
crossfid keys add $WALLET --recover
List All Wallets
crossfid keys list
Delete wallet
crossfid keys delete $WALLET
Check Balance
crossfid q bank balances $(crossfid keys show $WALLET -a)
Export Key (save to wallet.backup)
crossfid keys export $WALLET
View EVM Prived Key
crossfid keys unsafe-export-eth-key $WALLET
Import Key (restore from wallet.backup)
crossfid keys import $WALLET wallet.backup
Tokens
To valoper address
To wallet address
Amount, mpx
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 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 --gas-prices 10000000000000mpx -y
Check your balance
crossfid q bank balances $(crossfid keys show $WALLET -a)
Delegate to Yourself
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 redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000mpx --from $WALLET --chain-id crossfi-evm-testnet-1 --gas auto --gas-adjustment 1.5 --gas-prices 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 --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
Validator operations
Moniker
Identity
Details
Amount, mpx
Commission rate
Commission max rate
Commission max change rate
Website
Create New Validator
crossfid tx staking create-validator \
--amount 1000000mpx \
--pubkey $(crossfid tendermint show-validator) \
--chain-id crossfi-evm-testnet-1 \
--moniker "$MONIKER" \
--identity "" \
--details "A heartfelt shoutout to Andromeda for their amazing support! Your contributions shine brightly, guiding us forward. We are deeply grateful. And to the world of blockchain, our love knows no bounds. ❤️ Thank you, Andromeda, for being such a vital part of our journey." \
--website "https://andromedanode.co/" \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--gas auto --gas-adjustment 1.5 --gas-prices 10000000000000mpx \
-y
Edit Existing Validator
crossfid tx staking edit-validator \
--chain-id crossfi-evm-testnet-1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "A heartfelt shoutout to Andromeda for their amazing support! Your contributions shine brightly, guiding us forward. We are deeply grateful. And to the world of blockchain, our love knows no bounds. ❤️ Thank you, Andromeda, for being such a vital part of our journey." \
--website "https://andromedanode.co/" \
--from $WALLET \
--commission-rate 0.1 \
--gas auto --gas-adjustment 1.5 --gas-prices 10000000000000mpx \
-y
Validator info
crossfid status 2>&1 | jq -r '.ValidatorInfo // .validator_info'
Validator Details
crossfid q staking validator $(crossfid keys show $WALLET --bech val -a)
Jailing info
crossfid q slashing signing-info $(crossfid tendermint show-validator)
Slashing parameters
crossfid q slashing params
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 Validators List
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 key
[[ $(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"
Signing info
crossfid q slashing signing-info $(crossfid tendermint show-validator)
Governance
Title
Description
Deposit, mpx
Create New Text Proposal
crossfid tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000mpx \
--type Text \
--from $WALLET \
--gas auto --gas-adjustment 1.5 --gas-prices 10000000000000mpx \
-y
Proposals List
crossfid query gov proposals
Proposal ID
Proposal option
View proposal
crossfid query gov proposal 1
Vote
crossfid tx gov vote 1 yes --from $WALLET --chain-id crossfi-evm-testnet-1 --gas auto --gas-adjustment 1.5 --gas-prices 10000000000000mpx -y