2019-08-28 16:07:31 +00:00
|
|
|
# Unencrypted Keys Generator
|
|
|
|
|
|
|
|
This tool is used to generate JSON file of unencrypted, base64 encoded, validator
|
|
|
|
signing and withdrawal keys. These keys can be fed into the Prysm validator
|
|
|
|
client for fast development startup times instead of using the Prysm keystore.
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
|
|
|
|
```
|
2019-08-30 04:32:08 +00:00
|
|
|
bazel run //tools/unencrypted-keys-gen -- --num-keys 64 --output-json /path/to/output.json
|
2019-08-28 16:07:31 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
Which will create 64 BLS private keys each for validator signing and withdrawals.
|
|
|
|
These will then be output to an `output.json` file. Both arguments are required.
|
|
|
|
The file can then be used to start the Prysm validator with the command:
|
|
|
|
|
|
|
|
```
|
|
|
|
bazel run //validator -- --unencrypted-keys /path/to/output.json
|
|
|
|
```
|