prysm-pulse/tools/unencrypted-keys-gen
Radosław Kapka 3e0b20529b
Miscellaneous code quality improvements (#7414)
* anti-patterns

* performance issues

* handle skipped defer

* gazelle fix

* misc bug risks

* make logging of proposer slashings more robust

* simplify calling span.End()

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-04 15:03:10 +00:00
..
keygen Refactor dependencies, make Prysm "go gettable" (#6053) 2020-05-31 14:44:34 +08:00
BUILD.bazel Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
main_test.go Apply testutils assertions: final cleanup (#7003) 2020-08-25 15:23:06 +00:00
main.go Miscellaneous code quality improvements (#7414) 2020-10-04 15:03:10 +00:00
README.md dont lose keys (#3357) 2019-08-30 10:02:08 +05:30

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:

bazel run //tools/unencrypted-keys-gen -- --num-keys 64 --output-json /path/to/output.json

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