Qwoyn Studios
Search
K

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

Important Before running this command make sure your node is completely synced and that you have set the minimum gas fees to 0.025uqwoyn

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=<qwoyn_amount> \
--pubkey=$(qwoynd tendermint show-validator) \
--moniker="<node_moniker>" \
--chain-id="qwoyn-1" \
--commission-rate="0.05" \
--commission-max-rate="0.20" \
--commission-max-change-rate="0.01" \
--min-self-delegation="10" \
--gas="400000" \
--from=<key_name> \
--fees="10000uqwoyn"