Useful Commands/
mainnet/
uptick

mainnet
Rpc status: Active

Service operations

#check logs
sudo journalctl -u uptickd -f

#start service
sudo systemctl start uptickd

#stop service
sudo systemctl stop uptickd

#restart service
sudo systemctl restart uptickd

#service status
sudo systemctl status uptickd

#enable service
sudo systemctl enable uptickd

#disable service
sudo systemctl disable uptickd

#reload all service files
sudo systemctl daemon-reload

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

#get node id
uptickd tendermint show-node-id

Key management

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

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

#delete wallet
uptickd keys delete <wallet-name>

#list all wallets
uptickd keys list

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

Tokens operations

#withdraw all rewards
uptickd tx distribution withdraw-all-rewards --from <wallet-name> --chain-id uptick_117-1 --gas auto --gas-adjustment 1.5 --gas-prices 16000000000auptick --node "https://rpc.uptick.mainnet.dteam.tech:443" -y

#withdraw rewards from specific validator
uptickd tx distribution withdraw-rewards <validator-valoper-address> --from <wallet-name> --chain-id uptick_117-1 --gas auto --gas-adjustment 1.5 --gas-prices 16000000000auptick --node "https://rpc.uptick.mainnet.dteam.tech:443" -y

#delegate
uptickd tx staking delegate <validator-valoper-address> ${10**network.other.denom_exponent}auptick --from <wallet-name> --chain-id uptick_117-1 --gas auto --gas-adjustment 1.5 --gas-prices 16000000000auptick --node "https://rpc.uptick.mainnet.dteam.tech:443" -y

#redelegate
uptickd tx staking redelegate <from-validator-valoper-address> <to-validator-valoper-address> ${10**network.other.denom_exponent}auptick --from <wallet-name> --chain-id uptick_117-1 --gas auto --gas-adjustment 1.5 --gas-prices 16000000000auptick --node "https://rpc.uptick.mainnet.dteam.tech:443" -y

#unbond
uptickd tx staking unbond <validator-valoper-address> ${10**network.other.denom_exponent}auptick --from <wallet-name> --chain-id uptick_117-1 --gas auto --gas-adjustment 1.5 --gas-prices 16000000000auptick --node "https://rpc.uptick.mainnet.dteam.tech:443" -y

#transfer
uptickd tx bank send <wallet-name> <wallet-address> ${10**network.other.denom_exponent}auptick --chain-id uptick_117-1 --gas auto --gas-adjustment 1.5 --gas-prices 16000000000auptick --node "https://rpc.uptick.mainnet.dteam.tech:443" -y

Governance operations

#vote "yes"
uptickd tx gov vote <proposal-id> yes --from <wallet-name> --chain-id uptick_117-1 --gas auto --gas-adjustment 1.5 --gas-prices 16000000000auptick --node "https://rpc.uptick.mainnet.dteam.tech:443" -y

#vote "no"
uptickd tx gov vote <proposal-id> no --from <wallet-name> --chain-id uptick_117-1 --gas auto --gas-adjustment 1.5 --gas-prices 16000000000auptick --node "https://rpc.uptick.mainnet.dteam.tech:443" -y

#vote "no with veto"
uptickd tx gov vote <proposal-id> no_with_veto --from <wallet-name> --chain-id uptick_117-1 --gas auto --gas-adjustment 1.5 --gas-prices 16000000000auptick --node "https://rpc.uptick.mainnet.dteam.tech:443" -y

#vote "abstain"
uptickd tx gov vote <proposal-id> abstain --from <wallet-name> --chain-id uptick_117-1 --gas auto --gas-adjustment 1.5 --gas-prices 16000000000auptick --node "https://rpc.uptick.mainnet.dteam.tech:443" -y

#view all proposals
uptickd query gov proposals

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

Validator operations

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

#edit validator
uptickd tx staking edit-validator \
--new-moniker "" \
--identity "" \
--details "" \
--website "" \
--security-contact "" \
--commission-rate 0.05 \
--chain-id uptick_117-1 \
--from <wallet-name> \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 16000000000auptick \
--node "https://rpc.uptick.mainnet.dteam.tech:443" \
-y

#unjail validator
uptickd tx slashing unjail --from <wallet-name> --chain-id uptick_117-1 --gas auto --gas-adjustment 1.5 --gas-prices 16000000000auptick --node "https://rpc.uptick.mainnet.dteam.tech:443" -y