split-keys

command
v1.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Overview

Package main provides a tool named split-keys which allows for generating any number of Ethereum validator keys from a list of BIP39 mnemonics and spreading them across any number of Prysm wallets. This is useful for creating custom allocations of keys across containers running in a cloud environment, such as for public testnets. An example of why you would use this tool is as follows. Let's say we have 1 mnemonic contained inside of a file. Then, we want to generate 10 keys from the mnemonic, and we want to spread them across 5 different wallets, each containing two keys. Then, you would run the tool as follows:

./main -mnemonics-file=/path/to/file.txt -keys-per-mnemonic=10 -num-wallets=5

You can also specify the output directory for the wallet files using -out-dir and also the password used to encrypt the wallets in a text file using -wallet-password-file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL