Session Key Finder
Definition:
A session key is single key that represents six (6) public keys associated with a validator instance. These public keys and their accompanying private keys are found on the validator host in the path:
Generate: Session keys are generated from the validator host. One method of creating a session key is by issuing an RPC command on the the host machine as follows:
The author_rotateKeys RPC command does not erase any keys previously generated and can safely be executed multiple times. In the event that previously generated session_keys for a particular validator instance are forgotten it is advised to regenerate the keys using this command.
/home/$USER/.local/share/$CHAINNAME/keystore
.
Generate: Session keys are generated from the validator host. One method of creating a session key is by issuing an RPC command on the the host machine as follows:
curl -H "Content-Type: application/json" -d '{"id":1, "jsonrpc":"2.0", "method": "author_rotateKeys", "params":[]}' http://localhost:9933
The author_rotateKeys RPC command does not erase any keys previously generated and can safely be executed multiple times. In the event that previously generated session_keys for a particular validator instance are forgotten it is advised to regenerate the keys using this command.