๐Ÿ 8. Register Your Validator

๐Ÿ” Step 1: Get the Correct Public Key (for Validator)

Validators use a special Cosmos-based public key (not EVM key). To get it:

qied tendermint show-validator --home "$HOME/.qieMainnetNode"

Copy the output โ€” it should look like this:

{"@type":"/cosmos.crypto.ed25519.PubKey","key":"LaUx9x1Nlj4t9Yy5ybFJR55/7kCK8eGn8JlY/mBewuU="}

โœ… Keep this key safe โ€” youโ€™ll need it in the next step.

๐Ÿ“„ Step 2: Create a Validator Configuration File

Now create a file named validator.json in your terminal ( $HOME/.qieMainnetNode):

{
  "pubkey": <pasthe here your generated public key step no 1> ,
  "amount": "10000000000000000000000aqie", 
  "moniker": "<Name your validator>",
  "identity": "<optional>",
  "website": "<your project website -if any>",
  "security": "",
  "details": "<Details about the validator>",
  "commission-rate": "0.1",
  "commission-max-rate": "0.2",
  "commission-max-change-rate": "0.01",
  "min-self-delegation": "1000"
}

๐Ÿ“Œ What this means:

  • pubkey โ€“ Your validator's consensus public key (used for block signing).

  • amount โ€“ The amount you are staking as a validator.

  • moniker โ€“ The name of your validator (shown in explorers).

  • identity โ€“ (Optional) Keybase ID for validator identity verification.

  • website โ€“ Your validator or project website (optional).

  • security โ€“ Contact info for reporting security issues (optional).

  • details โ€“ A short description of your validator.

  • commission-rate โ€“ The percentage you charge delegators from their rewards.

  • commission-max-rate โ€“ The highest commission you can ever charge.

  • commission-max-change-rate โ€“ The max commission change allowed per day.

  • min-self-delegation โ€“ Minimum coins you must stake to stay active.

๐Ÿš€ Step 3: Submit the Validator Transaction

Now youโ€™ll officially become a validator by submitting the transaction:

qied tx staking create-validator ./validator.json \
--from validator \
--chain-id qie_1990-1 \
--home "$HOME/.qieMainnetNode" \
--node "tcp://localhost:26657" \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 10000000000aqie 
  • This transaction will prompt you for your wallet password, which you set during wallet creation.

๐Ÿ“Œ What this does: It tells the network: โ€œI want to become a validator using this wallet and stake.โ€


Last updated