Editing a Validator

A validator’s information can be edited using Harmony CLI as follows:

./hmy --node="https://api.s0.p.hmny.io" staking edit-validator --validator-addr one1pdv9lrdwl0rg5vglh4xtyrv3wjk3wsqket7zxy --name John --identity john --website john@harmony.one --security-contact Alex --details "John the validator" --rate 0.3 --min-self-delegation 2 --max-total-delegation 30 --remove-bls-key 0xb9486167ab9087ab818dc4ce026edb5bf216863364c32e42df2af03c5ced1ad181e7d12f0e6dd5307a73b62247608611 --add-bls-key 0xb9486167ab9087ab818dc4ce026edb5bf216863364c32e42df2af03c5ced1ad181e7d12f0e6dd5307a73b62247608611 --chain-id testnet --passphrase

  • edit-validator - is the subcommand for editing the validator’s information

  • validator-addr - is the subcommand for editing the validator's address

  • name, identity, website, security-contact, details - are the description about validator

  • rate - the commission rate that needs to be changed. Note that, max-rate and max-change-rate cannot be changed.

  • min-self-delegation - is the minimum delegation the validator itself have to put

  • max-total-delegation - is the maximum delegation the validator will accept

  • remove-bls-key - the bls public key to remove from the validator’s list of bls public keys. When a key is removed the total stake will be evenly redistributed to the rest of the slots.

  • add-bls-key - the bls public key to add to the validator’s list of bls public keys. When a key is added, the total stake will be evenly redistributed again to all the slots.

  • chain-id - can be one of {mainnet, testnet, devnet} pls use testnet

This edit validator transaction will be signed using the validator-addr. Hence, the validator-addr should exists in the keystore.