Useful Commands/
testnet/
symphony

testnet
Rpc status: Active

Service operations

#check logs
sudo journalctl -u symphonyd -f

#start service
sudo systemctl start symphonyd

#stop service
sudo systemctl stop symphonyd

#restart service
sudo systemctl restart symphonyd

#service status
sudo systemctl status symphonyd

#enable service
sudo systemctl enable symphonyd

#disable service
sudo systemctl disable symphonyd

#reload all service files
sudo systemctl daemon-reload

#get node info
symphonyd status 2>&1 | jq -r

#get node id
symphonyd tendermint show-node-id

Key management

#add new wallet
symphonyd keys add <wallet-name>

#restore existing wallet
symphonyd keys add <wallet-name> --recover

#delete wallet
symphonyd keys delete <wallet-name>

#list all wallets
symphonyd keys list

#check balance
symphonyd q bank balances <wallet-address>

Tokens operations

#withdraw all rewards
symphonyd tx distribution withdraw-all-rewards --from <wallet-name> --chain-id symphony-testnet-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.04note --node "https://rpc.symphony.testnet.dteam.tech:443" -y

#withdraw rewards from specific validator
symphonyd tx distribution withdraw-rewards <validator-valoper-address> --from <wallet-name> --chain-id symphony-testnet-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.04note --node "https://rpc.symphony.testnet.dteam.tech:443" -y

#delegate
symphonyd tx staking delegate <validator-valoper-address> ${10**network.other.denom_exponent}note --from <wallet-name> --chain-id symphony-testnet-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.04note --node "https://rpc.symphony.testnet.dteam.tech:443" -y

#redelegate
symphonyd tx staking redelegate <from-validator-valoper-address> <to-validator-valoper-address> ${10**network.other.denom_exponent}note --from <wallet-name> --chain-id symphony-testnet-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.04note --node "https://rpc.symphony.testnet.dteam.tech:443" -y

#unbond
symphonyd tx staking unbond <validator-valoper-address> ${10**network.other.denom_exponent}note --from <wallet-name> --chain-id symphony-testnet-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.04note --node "https://rpc.symphony.testnet.dteam.tech:443" -y

#transfer
symphonyd tx bank send <wallet-name> <wallet-address> ${10**network.other.denom_exponent}note --chain-id symphony-testnet-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.04note --node "https://rpc.symphony.testnet.dteam.tech:443" -y

Governance operations

#vote "yes"
symphonyd tx gov vote <proposal-id> yes --from <wallet-name> --chain-id symphony-testnet-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.04note --node "https://rpc.symphony.testnet.dteam.tech:443" -y

#vote "no"
symphonyd tx gov vote <proposal-id> no --from <wallet-name> --chain-id symphony-testnet-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.04note --node "https://rpc.symphony.testnet.dteam.tech:443" -y

#vote "no with veto"
symphonyd tx gov vote <proposal-id> no_with_veto --from <wallet-name> --chain-id symphony-testnet-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.04note --node "https://rpc.symphony.testnet.dteam.tech:443" -y

#vote "abstain"
symphonyd tx gov vote <proposal-id> abstain --from <wallet-name> --chain-id symphony-testnet-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.04note --node "https://rpc.symphony.testnet.dteam.tech:443" -y

#view all proposals
symphonyd query gov proposals

#view proposal by ID
symphonyd query gov proposal <proposal-id>

Validator operations

#create validator
symphonyd tx staking create-validator \
--amount 1000000note \
--moniker "" \
--identity "" \
--details "" \
--website "" \
--security-contact "" \
--pubkey $(symphonyd tendermint show-validator) \
--commission-rate 0.05 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--chain-id symphony-testnet-4 \
--from <wallet-name> \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 0.04note \
--node "https://rpc.symphony.testnet.dteam.tech:443" \
-y

#edit validator
symphonyd tx staking edit-validator \
--new-moniker "" \
--identity "" \
--details "" \
--website "" \
--security-contact "" \
--commission-rate 0.05 \
--chain-id symphony-testnet-4 \
--from <wallet-name> \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 0.04note \
--node "https://rpc.symphony.testnet.dteam.tech:443" \
-y

#unjail validator
symphonyd tx slashing unjail --from <wallet-name> --chain-id symphony-testnet-4 --gas auto --gas-adjustment 1.5 --gas-prices 0.04note --node "https://rpc.symphony.testnet.dteam.tech:443" -y