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.