BLS Key Management
Manage & re-use your BLS keys.
Currently, all BLS keys MUST have the same passphrase. A feature to improve this is in the works.
BLS key(s) location
You can find the path to your BLS keys directory (used by the harmony node) with the following command:
By default, this should be
~/.hmy/blskeys
Any BLS key present in that directory will be attempted to be used when launching the node. This means that all BLS keys in the said directory need to be for the same shard. Moreover, any .pass
files will also be attempted to be used when launching a node
BLS key for shard
This assumes AutoNode has been initialized.
You can find which shard a public BLS key belongs to with the following command:
Cleanse BLS key(s) from Validator
You can automatically cleanse your validator of BLS key(s) that have not signed any blocks in the current epoch with the following command:
You can cleanse all BLS key(s) that are not on the same shard as the BLS key(s) used by the current harmony node's shard with the following command:
You can also cleanse the BLS key(s) that are not being used by the current harmony node with the following command:
Remove BLS key from Validator
You can remove an explicit BLS key from your validator with the following command:
Last updated