Configuring Initia Validator

initia validator를 설정하고 Initia 체인에 트랜잭션을 전송하는 절차를 기술합니다.

Register as Validator

Submit the below transaction after running an Initia node to participate as Initia validator.

initiad tx mstaking create-validator \
    --amount="<bond_amount>" \
    --pubkey=$(initiad tendermint show-validator) \
    --moniker="<your_moniker>" \
    --identity="<keybase_identity>" \
    --chain-id="<chain_id>" \
    --from="<key_name>" \
    --commission-rate="0.10" \
    --commission-max-rate="0.20" \
    --commission-max-change-rate="0.01"

Confirm that all parameters are correctly set before submitting the transaction:

  • bond_amount: Amount to self-bond tokens. Can be in uinit or other whitelisted LP tokens.

  • pubkey: Public Key required for validator consensus.

    • Normally, the result printed from initiad tendermint show-validator command line is used as the pubkey

  • your_moniker: Human-readable name for your validator. Set as one of the moniker used on initiad init command line, or moniker registered in ~/.initia/config/config.toml file.

  • chain_id: Set the chain ID as the network which you want to participate as validator. The chain ID must match the one in genesis.json file.

  • key_name: The account address or the name to submit the transaction.

    • The result of initiad keys show <key name> must show correctly. If the result does not exist, check if the key_name or the keyring options are correct.

    • Fee token is paid to submit the transaction.

  • identity: An optional field for Keybase Identity information to show the image icon for the validator. The field should be a 16-digit string that is generated with Keybase account.

    • This is an optional field, but no validator icon will be shown on user interfaces if this field is omitted.

  • commission-rate: Rate is the commission rate charged to delegators, as a fraction. Must be set higher than min_commission_rate parameter from mStaking.

  • commission-max-rate: Defines the maximum commission rate which validator can ever charge.

  • commission-max-change-rate: Defines the maximum range of daily commission rate increase allowed for this validator.

Confirm Validator Information

The below command line can be used to fetch information about the current network and the list of validators participating. The result of this command line shows the list of validators, delegation shares, monikers and jailed status.

initiad query mstaking validators

By using the public key returned by using the below command line, you can check which validator from the result of the above command line is mine. You can find your validator by matching the returned public key from the below command line and the validators consensus_pubkey returned from the above command line only if your validator is included in the active validator set.

initiad tendermint show-validator

Unjailing Validator

If your validator has been missing out on signing blocks, your validator can be jailed.

The below command line can be used to unjail your validator.

initiad tx slashing unjail <validator address>

Restoring your validator

If your validator node stops running, the below process can be used to restore your validator back up to running status again.

  1. Configure a new environment to set up an Initia node that is synchronized to the latest block.

  2. Replace priv_validator.json file in ~/.initia/config to the file that was backed up.

  3. Restart Initia node.

Last updated