#check logs
sudo journalctl -u haqqd -f
#start service
sudo systemctl start haqqd
#stop service
sudo systemctl stop haqqd
#restart service
sudo systemctl restart haqqd
#service status
sudo systemctl status haqqd
#enable service
sudo systemctl enable haqqd
#disable service
sudo systemctl disable haqqd
#reload all service files
sudo systemctl daemon-reload
#get node info
haqqd status 2>&1 | jq -r
#get node id
haqqd tendermint show-node-id
#add new wallet
haqqd keys add <wallet-name>
#restore existing wallet
haqqd keys add <wallet-name> --recover
#delete wallet
haqqd keys delete <wallet-name>
#list all wallets
haqqd keys list
#check balance
haqqd q bank balances <wallet-address>
#withdraw all rewards
haqqd tx distribution withdraw-all-rewards --from <wallet-name> --chain-id haqq_11235-1 --gas auto --gas-adjustment 1.5 --gas-prices 25000000000aISLM --node "https://rpc.haqq.mainnet.dteam.tech:443" -y
#withdraw rewards from specific validator
haqqd tx distribution withdraw-rewards <validator-valoper-address> --from <wallet-name> --chain-id haqq_11235-1 --gas auto --gas-adjustment 1.5 --gas-prices 25000000000aISLM --node "https://rpc.haqq.mainnet.dteam.tech:443" -y
#delegate
haqqd tx staking delegate <validator-valoper-address> ${10**network.other.denom_exponent}aISLM --from <wallet-name> --chain-id haqq_11235-1 --gas auto --gas-adjustment 1.5 --gas-prices 25000000000aISLM --node "https://rpc.haqq.mainnet.dteam.tech:443" -y
#redelegate
haqqd tx staking redelegate <from-validator-valoper-address> <to-validator-valoper-address> ${10**network.other.denom_exponent}aISLM --from <wallet-name> --chain-id haqq_11235-1 --gas auto --gas-adjustment 1.5 --gas-prices 25000000000aISLM --node "https://rpc.haqq.mainnet.dteam.tech:443" -y
#unbond
haqqd tx staking unbond <validator-valoper-address> ${10**network.other.denom_exponent}aISLM --from <wallet-name> --chain-id haqq_11235-1 --gas auto --gas-adjustment 1.5 --gas-prices 25000000000aISLM --node "https://rpc.haqq.mainnet.dteam.tech:443" -y
#transfer
haqqd tx bank send <wallet-name> <wallet-address> ${10**network.other.denom_exponent}aISLM --chain-id haqq_11235-1 --gas auto --gas-adjustment 1.5 --gas-prices 25000000000aISLM --node "https://rpc.haqq.mainnet.dteam.tech:443" -y
#vote "yes"
haqqd tx gov vote <proposal-id> yes --from <wallet-name> --chain-id haqq_11235-1 --gas auto --gas-adjustment 1.5 --gas-prices 25000000000aISLM --node "https://rpc.haqq.mainnet.dteam.tech:443" -y
#vote "no"
haqqd tx gov vote <proposal-id> no --from <wallet-name> --chain-id haqq_11235-1 --gas auto --gas-adjustment 1.5 --gas-prices 25000000000aISLM --node "https://rpc.haqq.mainnet.dteam.tech:443" -y
#vote "no with veto"
haqqd tx gov vote <proposal-id> no_with_veto --from <wallet-name> --chain-id haqq_11235-1 --gas auto --gas-adjustment 1.5 --gas-prices 25000000000aISLM --node "https://rpc.haqq.mainnet.dteam.tech:443" -y
#vote "abstain"
haqqd tx gov vote <proposal-id> abstain --from <wallet-name> --chain-id haqq_11235-1 --gas auto --gas-adjustment 1.5 --gas-prices 25000000000aISLM --node "https://rpc.haqq.mainnet.dteam.tech:443" -y
#view all proposals
haqqd query gov proposals
#view proposal by ID
haqqd query gov proposal <proposal-id>
#create validator
haqqd tx staking create-validator \
--amount 1000000aISLM \
--moniker "" \
--identity "" \
--details "" \
--website "" \
--security-contact "" \
--pubkey $(haqqd tendermint show-validator) \
--commission-rate 0.05 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--chain-id haqq_11235-1 \
--from <wallet-name> \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 25000000000aISLM \
--node "https://rpc.haqq.mainnet.dteam.tech:443" \
-y
#edit validator
haqqd tx staking edit-validator \
--new-moniker "" \
--identity "" \
--details "" \
--website "" \
--security-contact "" \
--commission-rate 0.05 \
--chain-id haqq_11235-1 \
--from <wallet-name> \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 25000000000aISLM \
--node "https://rpc.haqq.mainnet.dteam.tech:443" \
-y
#unjail validator
haqqd tx slashing unjail --from <wallet-name> --chain-id haqq_11235-1 --gas auto --gas-adjustment 1.5 --gas-prices 25000000000aISLM --node "https://rpc.haqq.mainnet.dteam.tech:443" -y