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
echelond keys add $WALLETTo recover your wallet using seed phrase
echelond keys add $WALLET --recoverShow your wallet list
echelond keys listSave wallet info
Add wallet and validator address into variables
ECHELON_WALLET_ADDRESS=$(echelond keys show $WALLET -a)
ECHELON_VALOPER_ADDRESS=$(echelond keys show $WALLET --bech val -a)
echo 'export ECHELON_WALLET_ADDRESS='${ECHELON_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export ECHELON_VALOPER_ADDRESS='${ECHELON_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.
-Create validator
check your wallet balance:
echelond query bank balances $ECHELON_WALLET_ADDRESSTo create your validator run command below
echelond tx staking create-validator \
--from $WALLET \
--amount="1000000uechelon" \
--commission-max-change-rate "0.1" \
--commission-max-rate "0.2" \
--commission-rate "0.07" \
--pubkey=$(echelond tendermint show-validator) \
--moniker="$MONIKER" \
--identity="<your_keybase>" \
--details="<your_detail>" \
--website="<your_web>" \
--min-self-delegation "1" \
--chain-id=$ECHELON_CHAIN_ID \
--fees 2500uechelonCheck your validator key
[[ $(echelond q staking validator $ECHELON_VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(echelond 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
echelond 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 echelond -o catStart service
sudo systemctl start echelonStop service
sudo systemctl stop echelonRestart service
sudo systemctl restart echelonNode info
Synchronization info
echelond status 2>&1 | jq .SyncInfoValidator info
echelond status 2>&1 | jq .ValidatorInfoNode info
echelond status 2>&1 | jq .NodeInfoShow node id
echelond tendermint show-node-idWallet operations
List of wallets
echelond keys listRecover wallet
echelond keys add $WALLET --recoverDelete wallet
echelond keys delete $WALLETGet wallet balance
echelond query bank balances $ECHELON_WALLET_ADDRESSTransfer funds
echelond tx bank send $ECHELON_WALLET_ADDRESS <TO_ECHELON_WALLET_ADDRESS> 100000ueblVoting
echelond tx gov vote 1 yes --from $WALLET --chain-id=$ECHELON_CHAIN_IDStaking, Delegation and Rewards
Delegate stake
echelond tx staking delegate $ECHELON_VALOPER_ADDRESS 100000uebl --from=$WALLET --chain-id=$ECHELON_CHAIN_ID --gas=autoRedelegate stake from validator to another validator
echelond tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 100000uebl --from=$WALLET --chain-id=$ECHELON_CHAIN_ID --gas=autoWithdraw all rewards
echelond tx distribution withdraw-all-rewards --from=$WALLET --chain-id=$ECHELON_CHAIN_ID --gas=autoWithdraw rewards with commision
echelond tx distribution withdraw-rewards $ECHELON_VALOPER_ADDRESS --from=$WALLET --commission --chain-id=$ECHELON_CHAIN_IDValidator management
Edit validator
echelond tx staking edit-validator \
--moniker=$NODENAME \
--identity=<your_keybase_id> \
--website="<your_website>" \
--details="<your_validator_description>" \
--chain-id=$ECHELON_CHAIN_ID \
--from=$WALLETUnjail validator
echelond tx slashing unjail \
--broadcast-mode=block \
--from=$WALLET \
--chain-id=$ECHELON_CHAIN_ID \
--gas=autoLast updated