validator
Guidence for create validator
Create wallet
To create new wallet you can use command below. Don’t forget to save the mnemonic
paxid keys add $WALLETTo recover your wallet using seed phrase
paxid keys add $WALLET --recoverShow your wallet list
paxid keys listSave wallet info
Add wallet and validator address into variables
PAXI_WALLET_ADDRESS=$(paxid keys show $WALLET -a)
PAXI_VALOPER_ADDRESS=$(paxid keys show $WALLET --bech val -a)
echo 'export PAXI_WALLET_ADDRESS='${PAXI_WALLET_ADDRESS} >> $HOME/.bash_profile
echo 'export PAXI_VALOPER_ADDRESS='${PAXI_VALOPER_ADDRESS} >> $HOME/.bash_profile
source $HOME/.bash_profileFund your wallet
Buy on Osmosis DEXCreate validator
check your wallet balance:
paxid query bank balances $PAXI_WALLET_ADDRESSTo create your validator run command below
paxid tendermint show-validatornano ~/go/bin/paxi/validator.jsonfilled your validator info
{
"pubkey": result_from_above,
"amount": "1000000upaxi",
"moniker": "your-moniker",
"identity": "your-identity",
"website": "your-website",
"security": "your-mail",
"details": "your-detail",
"commission-rate": "0.05",
"commission-max-rate": "0.2",
"commission-max-change-rate": "0.05",
"min-self-delegation": "1"
}paxid tx staking create-validator ~/go/bin/paxi/validator.json \
--from wallet \
--chain-id paxi-mainnet \
--fees 10000upaxiCheck your validator key
[[ $(paxid q staking validator $PAXI_VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(paxid 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
paxid 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 paxid -o catStart service
sudo systemctl start paxidStop service
sudo systemctl stop paxidRestart service
sudo systemctl restart paxidNode info
Synchronization info
paxid status 2>&1 | jq .SyncInfoValidator info
paxid status 2>&1 | jq .ValidatorInfoNode info
paxid status 2>&1 | jq .NodeInfoShow node id
paxid tendermint show-node-idWallet operations
List of wallets
paxid keys listRecover wallet
paxid keys add $WALLET --recoverDelete wallet
paxid keys delete $WALLETGet wallet balance
paxid query bank balances $PAXI_WALLET_ADDRESSTransfer funds
paxid tx bank send $PAXI_WALLET_ADDRESS <TO_PAXI_WALLET_ADDRESS> 1000000upaxiVoting
paxid tx gov vote 1 yes --from $WALLET --chain-id=$PAXI_CHAIN_IDStaking, Delegation and Rewards
Delegate stake
paxid tx staking delegate $PAXI_VALOPER_ADDRESS 1000000upaxi --from=$WALLET --chain-id=$PAXI_CHAIN_ID --gas=autoRedelegate stake from validator to another validator
paxid tx staking redelegate <srcValidatorAddress> <destValidatorAddress> 1000000upaxi --from=$WALLET --chain-id=$PAXI_CHAIN_ID --gas=autoWithdraw all rewards
paxid tx distribution withdraw-all-rewards --from=$WALLET --chain-id=$PAXI_CHAIN_ID --gas=autoWithdraw rewards with commision
paxid tx distribution withdraw-rewards $PAXI_VALOPER_ADDRESS --from=$WALLET --commission --chain-id=$PAXI_CHAIN_IDValidator management
Edit validator
paxid tx staking edit-validator \
--moniker=$NODENAME \
--identity=<your_keybase_id> \
--website="<your_website>" \
--details="<your_validator_description>" \
--chain-id=$PAXI_CHAIN_ID \
--from=$WALLETUnjail validator
paxid tx slashing unjail \
--broadcast-mode=block \
--from=$WALLET \
--chain-id=$PAXI_CHAIN_ID \
--gas=autoLast updated