Service operations ⚙️
Check logs
Copy sudo journalctl -u galacticad -f
Start service
Copy sudo systemctl start galacticad
Stop service
Copy sudo systemctl stop galacticad
Restart service
Copy sudo systemctl restart galacticad
Check service status
Copy sudo systemctl status galacticad
Reload services
Copy sudo systemctl daemon-reload
Enable Service
Copy sudo systemctl enable galacticad
Disable Service
Copy sudo systemctl disable galacticad
Sync info
Copy galacticad status 2>&1 | jq .SyncInfo
Node info
Copy galacticad status 2>&1 | jq .NodeInfo
Your node peer
Copy echo $(galacticad tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.galactica/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Key management
Add New Wallet
Copy galacticad keys add $WALLET
Restore executing wallet
Copy galacticad keys add $WALLET --recover
List All Wallets
Delete wallet
Copy galacticad keys delete $WALLET
Check Balance
Copy galacticad q bank balances $( galacticad keys show $WALLET -a )
Export Key (save to wallet.backup)
Copy galacticad keys export $WALLET
View EVM Prived Key
Copy galacticad keys unsafe-export-eth-key $WALLET
Import Key (restore from wallet.backup)
Copy galacticad keys import $WALLET wallet.backup
Tokens
Withdraw all rewards
Copy galacticad tx distribution withdraw-all-rewards --from $WALLET --chain-id galactica_9302-1 --gas 200000 --gas-prices 10agnet
Withdraw rewards and commission from your validator
Copy galacticad tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id galactica_9302-1 --gas 200000 --gas-prices 10agnet -y
Check your balance
Copy galacticad query bank balances $WALLET_ADDRESS
Delegate to Yourself
Copy galacticad tx staking delegate $(galacticad keys show $WALLET --bech val -a) 1000000agnet --from $WALLET --chain-id galactica_9302-1 --gas 200000 --gas-prices 10agnet -y
Delegate
Copy galacticad tx staking delegate <TO_VALOPER_ADDRESS> 1000000agnet --from $WALLET --chain-id galactica_9302-1 --gas 200000 --gas-prices 10agnet -y
Redelegate Stake to Another Validator
Copy galacticad tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000agnet --from $WALLET --chain-id galactica_9302-1 --gas 200000 --gas-prices 10agnet -y
Unbond
Copy galacticad tx staking unbond $(galacticad keys show $WALLET --bech val -a) 1000000agnet --from $WALLET --chain-id galactica_9302-1 --gas 200000 --gas-prices 10agnet -y
Transfer Funds
Copy galacticad tx bank send $WALLET_ADDRESS < TO_WALLET_ADDRES S > 1000000agnet --gas 200000 --gas-prices 10agnet -y
Validator operations
Create New Validator
Copy galacticad tx staking create-validator \
--amount 1000000agnet \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $( galacticad tendermint show-validator ) \
--moniker "$MONIKER" \
--identity "" \
--details "xxxxxxxxx" \
--chain-id galactica_9302-1 \
--gas 200000 --gas-prices 10agnet \
-y
Edit Existing Validator
Copy galacticad tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "xxxxxxxxxx" \
--from $WALLET \
--chain-id galactica_9302-1 \
--gas 200000 --gas-prices 10agnet \
-y
Validator info
Copy galacticad status 2>&1 | jq .ValidatorInfo
Validator Details
Copy galacticad q staking validator $( galacticad keys show $WALLET --bech val -a )
Jailing info
Copy galacticad q slashing signing-info $( galacticad tendermint show-validator )
Slashing parameters
Copy galacticad q slashing params
Unjail validator
Copy galacticad tx slashing unjail --from $WALLET --chain-id galactica_9302-1 --gas 200000 --gas-prices 10agnet -y
Active Validators List
Copy galacticad 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
Copy [[ $(galacticad q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(galacticad status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
Signing info
Copy galacticad q slashing signing-info $( galacticad tendermint show-validator )
Governance
Create New Text Proposal
Copy galacticad tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000agnet \
--type Text \
--from $WALLET \
--gas 200000 --gas-prices 10agnet \
-y
Proposals List
Copy galacticad query gov proposals
Last updated 7 months ago