Cheatsheet

Service Operation

Check Logs

sudo journalctl -u symphonyd -f

Start Sevice

sudo systemctl start symphonyd

Stop service

sudo systemctl stop symphonyd

Restart Service

sudo systemctl restart symphonyd

Check Service

sudo systemctl status symphonyd

Reload Service

sudo systemctl daemon-reload

Enable Service

sudo systemctl enable symphonyd

Disable Service

sudo systemctl disable symphonyd

Node Peer

echo $(symphonyd tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.symphonyd/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')

Wallet Operation

Add New Wallet

symphonyd keys add $WALLET

Add Existing Wallet

symphonyd keys add $WALLET --recover

List Wallet

symphonyd keys list

Delete Wallet

symphonyd keys delete $WALLET

Check Balance

symphonyd q bank balances $WALLET_ADDRESS 

View EVM Private Key

emped keys unsafe-export-eth-key $WALLET

Convert address

Token

Withdraw all rewards

symphonyd tx distribution withdraw-all-rewards --from $WALLET --chain-id symphony-testnet-2 --gas=auto -y

Withdraw comission

symphonyd tx distribution withdraw-rewards $(symphonyd keys show $WALLET --bech val -a) --commission --from $WALLET --chain-id symphony-testnet-2 --gas=auto -y

Delegate to your own validator

symphonyd tx staking delegate $(symphonyd keys show $WALLET --bech val -a) 1000000note --from $WALLET --chain-id symphony-testnet-2 --gas=auto -y

Delegate to other validator

symphonyd tx staking delegate $(symphonyd keys show $WALLET --bech val -a) 1000000note --from $WALLET --chain-id symphony-testnet-2 --gas=auto -y

Unbound token from your own validator

symphonyd tx staking unbond $(symphonyd keys show $WALLET --bech val -a) 1000000note --from $WALLET --chain-id symphony-testnet-2 --gas=auto -y

Sending token to other wallet

symphonyd tx bank send wallet <TO_WALLET_ADDRESS> 1000000note --from $WALLET ---chain-id symphony-testnet-2 --gas=auto -y

Validator Operations

Edit existing validator

symphonyd tx staking edit-validator \
--new-moniker="" \
--identity="" \
--details="" \
--website="" \
--chain-id=symphony-testnet-2 \
--from=wallet \
--gas=auto \
-y 

Validator Info

symphonyd status 2>&1 | jq

Unjail Validator

symphonyd  tx slashing unjail --from $WALLET --chain-id symphony-testnet-2 --gas=auto -y

Jailed Reason

symphonyd query slashing signing-info $(symphonyd tendermint show-validator)

Governance

Vote You can change the value of yes to no,abstain,no withveto

symphonyd tx gov vote 1 yes --from $WALLET --chain-id symphony-testnet-2 --gas=auto -y

Proposal List

symphonyd query gov proposals 

Delete Node

this command for delete node make sure u had back up your priv_validator_key.json

sudo systemctl stop symphonyd
sudo systemctl disable symphonyd
sudo rm /etc/systemd/system/symphonyd.service
sudo systemctl daemon-reload
rm -f $(which symphonyd)
rm -rf .symphonyd
rm -rf symphony
sed -i "/SYMPHONY_/d" $HOME/.bash_profile

Last updated