March 2, 2023
Useful commands for checking and interacting with the KYVE NETWORK blockchain
journalctl -fu kyved -o cat
sudo systemctl stop kyved
sudo systemctl restart kyved
kyved q slashing signing-info $(kyved tendermint show-validator)
kyved q slashing params
kyved status 2>&1 | jq .SyncInfo
kyved query staking validator <valoper_address>
find out the validator's address:
kyved keys show $WALLET --bech val -a
kyved status | jq
kyved keys add $WALLET --recover
kyved keys delete $WALLET
kyved keys list
kyved query bank balances $KYVE_WALLET_ADDRESS
kyved tx bank send $KYVE_WALLET_ADDRESS <TO_KYVE_WALLET_ADDRESS> 5000tkyve
kyved tx gov vote 5 yes --from $WALLET --chain-id=$KYVE_CHAIN_ID
kyved tx staking delegate $KYVE_VALOPER_ADDRESS 5000tkyve --from=$WALLET --chain-id=$KYVE_CHAIN_ID --fees=5000tkyve --gas=auto
redelegate a steak from a validator to another validator:
kyved tx staking redelegate <src_ValidatorAddress> <dest_ValidatorAddress> 5000000tkyve --from=$WALLET --chain-id=$KYVE_CHAIN_ID --fees=5000tkyve --gas=auto
withdrawal of rewards with commission:
kyved tx distribution withdraw-rewards $KYVE_VALOPER_ADDRESS --from=$WALLET --commission --chain-id=$KYVE_CHAIN_ID --fees=5000tkyve --gas=auto
curl -sS http://localhost:xxxxx/net_info | jq -r '.result.peers[] | "\(.node_info.id)@\(.remote_ip):\(.node_info.listen_addr)"' | awk -F ':' '{print $1":"$(NF)}'
echo -e "\033[0;32m$(grep -A 3 "\[rpc\]" ~/.kyve/config/config.toml | egrep -o ":[0-9]+")\033[0m"
kyved tx staking edit-validator \ --moniker=$NODENAME \ --identity=<keybase_id> \ --website="<website>" \ --details="<validator_description>" \ --chain-id=$KYVE_CHAIN_ID \ --from=$WALLET \ --fees=110000tkyve \ --gas=150000 -y
kyved tx staking edit-validator \ --commission-rate "0.06" \ --chain-id=$KYVE_CHAIN_ID \ --from=$WALLET \ --fees=110000tkyve \ --gas=150000 -y
kyved tx slashing unjail \ --broadcast-mode=block \ --from=$WALLET \ --chain-id=$KYVE_CHAIN_ID \ --gas=auto \ --fees=5000tkyve