Create a Validator

This document provides instructions for creating a validator.

Prerequisites

This assumes that you already have a full node initialized and running.

Add Validator Key

As a validator who signs blocks, your node must have a public/private key pair. Qwoyn Blockchain keys can be managed with the qwoyndkeys subcommand. A new key pair can be generated using:

qwoynd keys add [name]

If you create a new key, make sure you store the mnemonic phrase in a safe place. You will not be able to recover your new key without the mnemonic phrase.

If you'd like to use an existing key or a custom keyring backend, you can find more information about adding keys and keyring backends in the Cosmos SDK Keyring (opens new window)documentation.

Create Validator

The next step will be to create a validator. You will need to have enough $QWOYN tokens to stake and to submit the transaction.

You'll want to carefully consider the options you set when creating a validator.

Submit a transaction to create a validator:

qwoynd tx staking create-validator \
  --amount=<stake_amount> \
  --pubkey=$(qwoynd tendermint show-validator) \
  --moniker="<node_moniker>" \
  --chain-id=<chain_id> \
  --commission-rate="0.10" \
  --commission-max-rate="0.20" \
  --commission-max-change-rate="0.01" \
  --min-self-delegation="1" \
  --gas="auto" \
  --from=<key_name>

Last updated