Creating Validator

Create Wallet

this command generate new wallet remember to save the mnemoic

exrpd keys add $WALLET

Add existing wallet

exrpd keys add $WALLET --recover

Save wallet and validator address

WALLET_ADDRESS=$(exrpd keys show $WALLET -a)
VALOPER_ADDRESS=$(exrpd keys show $WALLET --bech val -a)
echo "export WALLET_ADDRESS="$WALLET_ADDRESS >> $HOME/.bash_profile
echo "export VALOPER_ADDRESS="$VALOPER_ADDRESS >> $HOME/.bash_profile
source $HOME/.bash_profile

check sync status with this bellow command. if your node is fully synced, the output is catching up =false

exrpd status 2>&1 | jq  

before creating your validator your wallet must have fund you can check your wallet balance with this command

exrpd query bank balances $WALLET_ADDRESS 

Check Your Pubkey

exrpd tendermint show-validator

Create validator.json file

nano $HOME/.exrpd/validator.json
{
  "pubkey": {fill with your pubkey},
  "amount": "1000000uxrp",
  "moniker": "your moniker name",
  "identity": "",
  "website": "",
  "security": "",
  "details": "Stake With Us And Stay Lazy Rich..!",
  "commission-rate": "0.05",
  "commission-max-rate": "0.1",
  "commission-max-change-rate": "0.01",
  "min-self-delegation": "1"
}

Creating Validator

exrpd tx staking create-validator validator.json \
    --from $WALLET \
    --chain-id xrplevm_1449000-1 \
	--gas auto --gas-adjustment 1.5

And booom...!! your Validator has been up 🎉

Last updated