Add validator credentials get command.

This commit is contained in:
Jim McDonald
2022-05-10 15:02:41 +01:00
parent 46c667d387
commit 6bfb0ef098
12 changed files with 528 additions and 2 deletions

View File

@@ -560,6 +560,17 @@ $ ethdo synccommittee members
Validator commands focus on interaction with Ethereum 2 validators.
#### `credentials get`
`ethdo validator credentials get` provides information about the withdrawal credentials for the provided validator. Options include:
- `account` the account for which to obtain the withdrawal credentials (in format "wallet/account")
- `pubkey` the public key of the validator for which to obtain the withdrawal credentials
- `index` the index of the validator for which to obtain the withdrawal credentials
```sh
$ ethdo validator credentials get --account=Validators/1
```
#### `depositdata`
`ethdo validator depositdata` generates the data required to deposit one or more Ethereum 2 validators. Options include: