Install Node Keys


1. Install the nodekey and bls-nodekey into the data directory.

The nodekey is the private key of your node, and the bls-nodekey is the BLS secret key used for consensus. Put the nodekey and bls-nodekey files you generated with keytool into the data directory (DATA_DIR=/kaia/kcnd/data).

Warning

Install both keys before starting kcnd. If kcn cannot find a nodekey in the data directory, it does not stop: it generates a new nodekey (and derives a new bls-nodekey from it) and runs with that identity instead of yours.

1) Install the nodekey
$ sudo cp nodekey /kaia/kcnd/data/
2) Install the bls-nodekey
$ sudo cp bls-nodekey /kaia/kcnd/data/
3) Restrict the permissions and check the files
$ sudo chmod 600 /kaia/kcnd/data/nodekey /kaia/kcnd/data/bls-nodekey
$ sudo ls -l /kaia/kcnd/data/nodekey /kaia/kcnd/data/bls-nodekey

** These files are private keys. Keep a backup in a safe place and never share them.


If you finish this step, please click the next button > on the right side of this page.