validator
Guidence for create validator
Create wallet
To create new wallet you can use command below. Don’t forget to save the mnemonic
echo "export WALLET=wallet" >> $HOME/.bash_profile
source $HOME/.bash_profile
kyved keys add $WALLETTo recover your wallet using seed phrase
kyved keys add $WALLET --recoverShow your wallet list
kyved keys listSave wallet info
Add wallet and validator address into variables
KYVE_WALLET_ADDRESS=$(kyved keys show $WALLET -a)
KYVE_VALOPER_ADDRESS=$(kyved keys show $WALLET --bech val -a)
echo 'export KYVE_WALLET_ADDRESS='${KYVE_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export KYVE_VALOPER_ADDRESS='${KYVE_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profileFund your wallet
In order to create validator first you need to fund your wallet with discord faucet.
n/aCreate validator
check your wallet balance:
kyved query bank balances $KYVE_WALLET_ADDRESSTo create your validator run command below
kyved tx staking create-validator \
  --amount 100000ukyve \
  --from $WALLET \
  --commission-max-change-rate "0.01" \
  --commission-max-rate "0.2" \
  --commission-rate "0.07" \
  --min-self-delegation "1" \
  --pubkey  $(kyved tendermint show-validator) \
  --moniker $NODENAME \
  --chain-id $KYVE_CHAIN_IDCheck your validator key
[[ $(kyved q staking validator $KYVE_VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(kyved status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "\n\e[1m\e[32mTrue\e[0m\n" || echo -e "\n\e[1m\e[31mFalse\e[0m\n"Get list of validators
kyved q staking validators -oj --limit=3000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' | sort -gr | nlUsefull commands
Service management
Check logs
journalctl -fu kyved -o catStart service
sudo systemctl start kyvedStop service
sudo systemctl stop kyvedRestart service
sudo systemctl restart kyvedNode info
Synchronization info
kyved status 2>&1 | jq .SyncInfoValidator info
kyved status 2>&1 | jq .ValidatorInfoNode info
kyved status 2>&1 | jq .NodeInfoShow node id
kyved tendermint show-node-idWallet operations
List of wallets
kyved keys listRecover wallet
kyved keys add $WALLET --recoverDelete wallet
kyved keys delete $WALLETGet wallet balance
kyved query bank balances $KYVE_WALLET_ADDRESSTransfer funds
kyved tx bank send $KYVE_WALLET_ADDRESS <TO_KYVE_WALLET_ADDRESS> 100000ukyveVoting
kyved tx gov vote 1 yes --from $WALLET --chain-id=$KYVE_CHAIN_IDStaking, Delegation and Rewards
Delegate stake
kyved tx staking delegate $KYVE_VALOPER_ADDRESS 100000ukyve --from=$WALLET --chain-id=$KYVE_CHAIN_ID --gas=autoRedelegate stake from validator to another validator
kyved tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 100000ukyve --from=$WALLET --chain-id=$KYVE_CHAIN_ID --gas=autoWithdraw all rewards
kyved tx distribution withdraw-all-rewards --from=$WALLET --chain-id=$KYVE_CHAIN_ID --gas=autoWithdraw rewards with commision
kyved tx distribution withdraw-rewards $KYVE_VALOPER_ADDRESS --from=$WALLET --commission --chain-id=$KYVE_CHAIN_IDValidator management
Edit validator
kyved tx staking edit-validator \
  --moniker=$NODENAME \
  --identity=<your_keybase_id> \
  --website="<your_website>" \
  --details="<your_validator_description>" \
  --chain-id=$KYVE_CHAIN_ID \
  --from=$WALLETUnjail validator
kyved tx slashing unjail \
  --broadcast-mode=block \
  --from=$WALLET \
  --chain-id=$KYVE_CHAIN_ID \
  --gas=autoremove node
sudo systemctl stop kyved
sudo systemctl disable kyved
sudo rm /etc/systemd/system/kyve* -rf
sudo rm $(which kyved) -rf
sudo rm $HOME/.kyve* -rf
sudo rm $HOME/chain -rf
sed -i '/KYVE_/d' ~/.bash_profile
Last updated