๐ 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