BLS Key Management

Manage & re-use your BLS keys.

BLS key(s) location

You can find the path to your BLS keys directory (used by the harmony node) with the following command:

python3 -c "from AutoNode import common; print(common.bls_key_dir)"

By default, this should be ~/.hmy/blskeys

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:

auto-node bls-shard <public-bls-key>

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:

auto-node cleanse-bls

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:

auto-node cleanse-bls --keep-shard

You can also cleanse the BLS key(s) that are not being used by the current harmony node with the following command:

auto-node cleanse-bls --hard

Remove BLS key from Validator

You can remove an explicit BLS key from your validator with the following command:

auto-node remove-bls <public-bls-key>

Last updated

Was this helpful?