A first go at persisting validator keys and handling configuration. Addresses issue #253.

- Creates a keystore directory in the config
 - Fetches serialized keys from the keystore directory
 - If no keys, generates keys randomly, saves serialized keys to keystore dir.
This commit is contained in:
Luke Anderson
2019-03-12 21:56:45 +11:00
parent b2926b4ed0
commit e942d7533b
4 changed files with 73 additions and 9 deletions

View File

@@ -18,3 +18,4 @@ slog = "^2.2.3"
slog-term = "^2.4.0"
slog-async = "^2.3.0"
ssz = { path = "../eth2/utils/ssz" }
bincode = "^1.1.2"