Validator Setup

Create/restore a key pair​

  • Create Wallet

xosd keys add <your-wallet-name>
  • Restore Wallet

xosd keys unsafe-import-eth-key <your-wallet-name> <ETH-PRIVATE-KEY>

Create Your Validator

PUBKEY=$(xosd tendermint show-validator)

cat > $HOME/.xosd/validatortx.txt << EOM
{
  "pubkey": $PUBKEY,
  "amount": "1000000uxos",
  "moniker": "",
  "identity": "", 
  "website": "",
  "security": "",
  "details": "",
  "commission-rate": "0.1",
  "commission-max-rate": "0.2",
  "commission-max-change-rate": "0.01",
  "min-self-delegation": "10"
}
EOM

To create your validator use the following command:

xosd tx staking create-validator $HOME/.xosd/validatortx.txt \
  --from=<your-wallet-name> \
  --chain-id="xos_1267-1" \
  --gas="auto" \
  --gas-prices="0.00025uxos" \
  --gas-adjustment=1.5 \
  --yes

If you don't have any testnet tokens yet, you can request some from the XOS Faucet

Last updated