Last active
October 8, 2022 12:15
-
-
Save asverty/7c590f2224b22b65883603e7452508a4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#I added to main cmd: --identity, --details, --security-contact, #--website | |
iond tx staking create-validator \ | |
--amount=10000000000idep \ | |
--pubkey=$(iond tendermint show-validator) \ | |
--moniker="$DP_NDNM" \ | |
--chain-id="$DP_CHN" \ | |
--commission-rate="0.10" \ | |
--commission-max-rate="0.20" \ | |
--commission-max-change-rate="0.01" \ | |
--min-self-delegation="1" \ | |
--identity=$DP_PGPK \ | |
--details="⚛" \ | |
--security-contact="https://twitter.com/alekh_w" \ | |
--website="https://medium.com/@virtualxgrape" \ | |
--from="$DP_WLLT" \ | |
--node $DP_TCP | |
#add new variable with valoper address | |
DP_VLPR="PASTE_MY_VALOPER_ADDRESS" | |
#save variable | |
echo 'export DP_VLPR='${DP_VLPR} >> $HOME/.bash_profile | |
source $HOME/.bash_profile | |
#check variable | |
echo $DP_VLPR | |
#Check validator | |
iond q staking validator $DP_VLPR --node $DP_TCP | |
#or with passphrase | |
iond q staking validator $(iond keys show $DP_WLLT --bech val -a) --node $DP_TCP | |
#list of validators in one cmd: | |
iond q staking validators -o json --limit=2000 --node $DP_TCP \ | |
| jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' \ | |
| jq -r '.tokens + " - " + .description.moniker' \ | |
| sort -gr | nl | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment