Last active
October 8, 2022 12:14
-
-
Save asverty/1ccc8a0e335a74080d752d4ea53e3302 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
#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 | |
#validator info: | |
iond q staking validator $DP_VLPR --node $DP_TCP | |
#status of node: | |
curl -s localhost:26652/status | |
#check rewards | |
iond query distribution rewards $DP_WLLT --node $DP_TCP | |
#check balance | |
iond query bank balances $DP_WLLT --chain-id=$DP_CHN --node $DP_TCP | |
#or | |
iond q bank balances $DP_WLLT --chain-id=$DP_CHN --node $DP_TCP | |
#delegation of 11 idep (denomination 10*8) to validator: | |
iond tx staking delegate $DP_VLPR "1100000000idep" --from $DP_WLLT --chain-id=$DP_CHN --node $DP_TCP | |
#if want to remove IDEP | |
systemctl stop iond | |
rm -rf /etc/systemd/system/iond.service | |
rm -rf .ion | |
rm -rf incentivized-testnet | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment