To Create a Wallet:
iond keys add $NICKNAME
To restore the old one by mnemonics:
iond keys add $NICKNAME --recover
To View your address:
Claim the TestNet Tokens
Drop you wallet address in Discord channel # 👛-confirm-wallet channel Tag: @denny007#3282 @Aidas#1949 in community group
To View your account balances:
iond query bank balances <address>
Send a transaction to create a validator after complete blocks synchronization
iond tx staking create-validator \
--amount=10000000000idep \
--pubkey=$(iond tendermint show-validator) \
--moniker="$NICKNAME" \
--chain-id="SanfordNetworkV2" \
--commission-rate="0.10" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="1" \
--gas=200000 \
--fees=1000idep \
--from="$NICKNAME"
Let's see the information about the validator:
iond query staking \
validator $(iond keys show $NICKNAME --bech=val -a) \
--node `cat "$HOME/.ion/config/config.toml"
Lets set the opertator address to the environmental variable:
echo "export OPERATOR="$(iond query staking validator $(iond keys show $NICKNAME --bech=val -a) | grep "valoper" | awk '{print $2}')"" >> ~/.bash_profile
source ~/.bash_profile
echo $OPERATOR
You can also use:
echo "export OPERATOR="$(iond query staking validator $(iond keys show $NICKNAME --bech=val -a) \
--node `cat "$HOME/.ion/config/config.toml" \
| grep -oPm1 "(?<=^laddr = \")([^%]+)(?=\")"` \
| grep "valoper" | awk '{print $2}')"" >> ~/.bash_profile
source ~/.bash_profile
echo $OPERATOR
To unjail the node:
iond tx slashing unjail \
--chain-id="SanfordNetworkV2" \
--gas="auto" \
--gas-prices="0.5idep" \
--gas-adjustment=1.5 \
--from=$NICKNAME
To Transfer tokens from one address to another address
iond tx bank send <from_address> <to_address> 100000000idep \
--chain-id="SanfordNetworkV2" \
--gas="auto" \
--gas-prices="0.5idep" \
--gas-adjustment=1.5
To withdraw the rewards in your node:
iond tx distribution withdraw-all-rewards \
--chain-id="SanfordNetworkV2" \
--gas="auto" \
--gas-adjustment=1.5 \
--gas-prices="0.5idep" \
--from=$NICKNAME
To Re-delegate the tokens to your validator address:
iond tx staking delegate $OPERATOR "100000000idep" \
--chain-id="SanfordNetworkV2" \
--gas="auto" \
--gas-adjustment=1.5 \
--gas-prices="0.5idep" \
--from=$NICKNAME
To check the Voting Power
curl -s localhost:26657/status | jq .result.validator_info.voting_power
To set the logo for your Validator:
iond tx staking edit-validator \
--moniker="new node nickname" \
--website="https://t.me/nickname" \
--identity="1A1A2B2B3C3C4D4D" \
--details="any details" \
--chain-id="SanfordNetworkV2" \
--gas="auto" \
--gas-adjustment="1.5" \
--gas-prices="0.5idep" \
--from=$NICKNAME
To Vote
iond tx gov vote 2 yes --from $NICKNAME --chain-id SanfordNetworkV2 --fees 2000idep
For --identity you can login in keybase handle or create the account in keybase like this
Once completed all the steps you may able to view your NodeName like as NodeWorks.