Merge pull request #56 from joaocenoura/master

Allow ethdo credential set to use all validators from offline-preparation.json
This commit is contained in:
Jim McDonald
2023-01-31 15:34:42 +00:00
committed by GitHub
2 changed files with 39 additions and 0 deletions

View File

@@ -210,6 +210,14 @@ ethdo validator credentials set --mnemonic="abandon abandon abandon … art" --p
Note that it is possible for there to be multiple validators that use the provided private key for a withdrawal address, in which case an operation will be generated for each validator that is eligible for change.
#### Using withdrawal private key only.
Similar to the previous section, however instead of specifying the mnemonic, it will select multiple validators that use provided private key for their withdrawal address.
```
ethdo validator credentials set --private-key=0x3b…9c --withdrawal-address=0x8f…9F
```
#### Using an account
If you used `ethdo` to generate your validator deposit data you will likely have used a separate account to generate the withdrawal credentials. You can specify the accout of the validator and the accout of the withdrawal credentials to generate and broadcast the credentials change operation with the following command: