Useful Commands/
testnet/
quicksilver

Rpc status: Active

Service operations

#check logs
sudo journalctl -u quicksilverd -f

#start service
sudo systemctl start quicksilverd

#stop service
sudo systemctl stop quicksilverd

#restart service
sudo systemctl restart quicksilverd

#service status
sudo systemctl status quicksilverd

#enable service
sudo systemctl enable quicksilverd

#disable service
sudo systemctl disable quicksilverd

#reload all service files
sudo systemctl daemon-reload

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

#get node id
quicksilverd tendermint show-node-id

Key management

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

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

#delete wallet
quicksilverd keys delete <wallet-name>

#list all wallets
quicksilverd keys list

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

Tokens operations

#withdraw all rewards
quicksilverd tx distribution withdraw-all-rewards --from <wallet-name> --chain-id rhye-3 --gas auto --gas-adjustment 1.5 --gas-prices 0.00025uqck --node "https://rpc.quicksilver.testnet.dteam.tech:443" -y

#withdraw rewards from specific validator
quicksilverd tx distribution withdraw-rewards <validator-valoper-address> --from <wallet-name> --chain-id rhye-3 --gas auto --gas-adjustment 1.5 --gas-prices 0.00025uqck --node "https://rpc.quicksilver.testnet.dteam.tech:443" -y

#delegate
quicksilverd tx staking delegate <validator-valoper-address> ${10**network.other.denom_exponent}uqck --from <wallet-name> --chain-id rhye-3 --gas auto --gas-adjustment 1.5 --gas-prices 0.00025uqck --node "https://rpc.quicksilver.testnet.dteam.tech:443" -y

#redelegate
quicksilverd tx staking redelegate <from-validator-valoper-address> <to-validator-valoper-address> ${10**network.other.denom_exponent}uqck --from <wallet-name> --chain-id rhye-3 --gas auto --gas-adjustment 1.5 --gas-prices 0.00025uqck --node "https://rpc.quicksilver.testnet.dteam.tech:443" -y

#unbond
quicksilverd tx staking unbond <validator-valoper-address> ${10**network.other.denom_exponent}uqck --from <wallet-name> --chain-id rhye-3 --gas auto --gas-adjustment 1.5 --gas-prices 0.00025uqck --node "https://rpc.quicksilver.testnet.dteam.tech:443" -y

#transfer
quicksilverd tx bank send <wallet-name> <wallet-address> ${10**network.other.denom_exponent}uqck --chain-id rhye-3 --gas auto --gas-adjustment 1.5 --gas-prices 0.00025uqck --node "https://rpc.quicksilver.testnet.dteam.tech:443" -y

Governance operations

#vote "yes"
quicksilverd tx gov vote <proposal-id> yes --from <wallet-name> --chain-id rhye-3 --gas auto --gas-adjustment 1.5 --gas-prices 0.00025uqck --node "https://rpc.quicksilver.testnet.dteam.tech:443" -y

#vote "no"
quicksilverd tx gov vote <proposal-id> no --from <wallet-name> --chain-id rhye-3 --gas auto --gas-adjustment 1.5 --gas-prices 0.00025uqck --node "https://rpc.quicksilver.testnet.dteam.tech:443" -y

#vote "no with veto"
quicksilverd tx gov vote <proposal-id> no_with_veto --from <wallet-name> --chain-id rhye-3 --gas auto --gas-adjustment 1.5 --gas-prices 0.00025uqck --node "https://rpc.quicksilver.testnet.dteam.tech:443" -y

#vote "abstain"
quicksilverd tx gov vote <proposal-id> abstain --from <wallet-name> --chain-id rhye-3 --gas auto --gas-adjustment 1.5 --gas-prices 0.00025uqck --node "https://rpc.quicksilver.testnet.dteam.tech:443" -y

#view all proposals
quicksilverd query gov proposals

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

Validator operations

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

#edit validator
quicksilverd tx staking edit-validator \
--new-moniker "" \
--identity "" \
--details "" \
--website "" \
--security-contact "" \
--commission-rate 0.05 \
--chain-id rhye-3 \
--from <wallet-name> \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 0.00025uqck \
--node "https://rpc.quicksilver.testnet.dteam.tech:443" \
-y

#unjail validator
quicksilverd tx slashing unjail --from <wallet-name> --chain-id rhye-3 --gas auto --gas-adjustment 1.5 --gas-prices 0.00025uqck --node "https://rpc.quicksilver.testnet.dteam.tech:443" -y