You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Option 2. Build `deposit-cli` with native Python](#option-2-build-deposit-cli-with-native-python)
22
24
-[Step 0. Python version checking](#step-0-python-version-checking)
23
25
-[Step 1. Installation](#step-1-installation-1)
@@ -112,14 +114,22 @@ or run the following command to enter the interactive CLI and generate keys from
112
114
./deposit existing-mnemonic
113
115
```
114
116
115
-
###### language Argument
117
+
###### `language` Argument
116
118
117
119
The Launchpad offers many language/internationalization options. If you wish to select one as a CLI argument, it must be passed in before one of the commands is chosen.
118
120
119
121
| Argument | Type | Description |
120
122
| -------- | -------- | -------- |
121
123
|`--language`| String. Options: `العربية`, `ελληνικά`, `English`, `Français`, `Bahasa melayu`, `Italiano`, `日本語`, `한국어`, `Português do Brasil`, `român`, `简体中文`. Default to `English`| The language you wish to use the CLI in. |
122
124
125
+
###### `--non_interactive` flag
126
+
127
+
**Warning: with this flag, there will be no confirmation step(s) to verify the input value(s). Please use it carefully.**
128
+
129
+
| Argument | Type | Description |
130
+
| -------- | -------- | -------- |
131
+
|`--non_interactive`| Flag | Run CLI in non-interactive mode. |
132
+
123
133
###### Commands
124
134
125
135
The CLI offers different commands depending on what you want to do with the tool.
@@ -136,10 +146,10 @@ You can use `new-mnemonic --help` to see all arguments. Note that if there are m
136
146
| Argument | Type | Description |
137
147
| -------- | -------- | -------- |
138
148
|`--num_validators`| Non-negative integer | The number of signing keys you want to generate. Note that the child key(s) are generated via the same master key. |
139
-
|`--mnemonic_language`| String. Options: `简体中文`, `繁體中文`, `český jazyk`, `English`, `Italiano`, `한국어`, `Português`, `Español`. Default to `English`| The mnemonic language|
149
+
|`--mnemonic_language`| String. Options: `简体中文`, `繁體中文`, `český jazyk`, `English`, `Italiano`, `한국어`, `Português`, `Español`. Default to `English`| The language of the mnemonic word list|
140
150
|`--folder`| String. Pointing to `./validator_keys` by default | The folder path for the keystore(s) and deposit(s) |
141
151
|`--chain`| String. `mainnet` by default | The chain setting for the signing domain. |
142
-
|`--eth1_withdrawal_address`| String. Eth1 address in hexadecimal encoded form | If this field is set and valid, the given Eth1 address will be used to create the withdrawal credentials. Otherwise, it will generate withdrawal credentials with the mnemonic-derived withdrawal public key in [EIP-2334 format](https://eips.ethereum.org/EIPS/eip-2334#eth2-specific-parameters). |
152
+
|`--execution_address` (or `--eth1_withdrawal_address`)| String. Eth1 address in hexadecimal encoded form | If this field is set and valid, the given Eth1 address will be used to create the withdrawal credentials. Otherwise, it will generate withdrawal credentials with the mnemonic-derived withdrawal public key in [ERC-2334 format](https://eips.ethereum.org/EIPS/eip-2334#eth2-specific-parameters). |
143
153
144
154
###### `existing-mnemonic` Arguments
145
155
@@ -151,7 +161,7 @@ You can use `existing-mnemonic --help` to see all arguments. Note that if there
151
161
|`--num_validators`| Non-negative integer | The number of new signing keys you want to generate. Note that the child key(s) are generated via the same master key. |
152
162
|`--folder`| String. Pointing to `./validator_keys` by default | The folder path for the keystore(s) and deposit(s) |
153
163
|`--chain`| String. `mainnet` by default | The chain setting for the signing domain. |
154
-
|`--eth1_withdrawal_address`| String. Eth1 address in hexadecimal encoded form | If this field is set and valid, the given Eth1 address will be used to create the withdrawal credentials. Otherwise, it will generate withdrawal credentials with the mnemonic-derived withdrawal public key in [EIP-2334 format](https://eips.ethereum.org/EIPS/eip-2334#eth2-specific-parameters). |
164
+
|`--execution_address` (or `--eth1_withdrawal_address`)| String. Eth1 address in hexadecimal encoded form | If this field is set and valid, the given Eth1 address will be used to create the withdrawal credentials. Otherwise, it will generate withdrawal credentials with the mnemonic-derived withdrawal public key in [ERC-2334 format](https://eips.ethereum.org/EIPS/eip-2334#eth2-specific-parameters). |
You can use `bls-to-execution-change --help` to see all arguments. Note that if there are missing arguments that the CLI needs, it will ask you for them.
184
+
185
+
| Argument | Type | Description |
186
+
| -------- | -------- | -------- |
187
+
|`--bls_to_execution_changes_folder`| String. Pointing to `./bls_to_execution_changes` by default | The folder path for the `bls_to_execution_change-*` JSON file(s) |
188
+
|`--chain`| String. `mainnet` by default | The chain setting for the signing domain. |
189
+
|`--mnemonic`| String. mnemonic split by space. | The mnemonic you used to create withdrawal credentials. |
190
+
|`--mnemonic_password`| Optional string. Empty by default. | The mnemonic password you used in your key generation. Note: It's not the keystore password. |
191
+
|`--validator_start_index`| Non-negative integer | The index position for the keys to start generating withdrawal credentials in [ERC-2334 format](https://eips.ethereum.org/EIPS/eip-2334#eth2-specific-parameters). |
192
+
|`--validator_indices`| String of integer(s) | A list of the chosen validator index number(s) as identified on the beacon chain. Split multiple items with whitespaces or commas. |
193
+
|`--bls_withdrawal_credentials_list`| String of hexstring(s). | A list of the old BLS withdrawal credentials of the given validator(s). It is for confirming you are using the correct keys. Split multiple items with whitespaces or commas. |
194
+
|`--execution_address` (or `--eth1_withdrawal_address`) | String. Eth1 address in hexadecimal encoded form | If this field is set and valid, the given Eth1 address will be used to create the withdrawal credentials. Otherwise, it will generate withdrawal credentials with the mnemonic-derived withdrawal public key in [ERC-2334 format](https://eips.ethereum.org/EIPS/eip-2334#eth2-specific-parameters). |
195
+
|`--devnet_chain_setting`| String. JSON string `'{"network_name": "<NETWORK_NAME>", "genesis_fork_version": "<GENESIS_FORK_VERSION>", "genesis_validator_root": "<GENESIS_VALIDATOR_ROOT>"}'`| The custom chain setting of a devnet or testnet. Note that it will override your `--chain` choice. |
196
+
171
197
#### Option 2. Build `deposit-cli` with native Python
172
198
173
199
##### Step 0. Python version checking
@@ -228,6 +254,7 @@ See [here](#commands)
228
254
229
255
See [here](#new-mnemonic-arguments) for `new-mnemonic` arguments
230
256
See [here](#existing-mnemonic-arguments) for `existing-mnemonic` arguments
257
+
See [here](#generate-bls-to-execution-change-arguments) for `generate-bls-to-execution-change` arguments
231
258
232
259
###### Successful message
233
260
See [here](#successful-message)
@@ -295,6 +322,7 @@ See [here](#commands)
295
322
296
323
See [here](#new-mnemonic-arguments) for `new-mnemonic` arguments
297
324
See [here](#existing-mnemonic-arguments) for `existing-mnemonic` arguments
325
+
See [here](#generate-bls-to-execution-change-arguments) for `generate-bls-to-execution-change` arguments
298
326
299
327
#### Option 4. Use Docker image
300
328
@@ -378,6 +406,7 @@ See [here](#commands)
378
406
379
407
See [here](#new-mnemonic-arguments) for `new-mnemonic` arguments
380
408
See [here](#existing-mnemonic-arguments) for `existing-mnemonic` arguments
409
+
See [here](#generate-bls-to-execution-change-arguments) for `generate-bls-to-execution-change` arguments
381
410
382
411
#### Option 2. Build `deposit-cli` with native Python
383
412
@@ -440,6 +469,7 @@ See [here](#commands)
440
469
441
470
See [here](#new-mnemonic-arguments) for `new-mnemonic` arguments
442
471
See [here](#existing-mnemonic-arguments) for `existing-mnemonic` arguments
472
+
See [here](#generate-bls-to-execution-change-arguments) for `generate-bls-to-execution-change` arguments
443
473
444
474
#### Option 3. Build `deposit-cli` with `virtualenv`
445
475
@@ -504,6 +534,7 @@ See [here](#commands)
504
534
505
535
See [here](#new-mnemonic-arguments) for `new-mnemonic` arguments
506
536
See [here](#existing-mnemonic-arguments) for `existing-mnemonic` arguments
537
+
See [here](#generate-bls-to-execution-change-arguments) for `generate-bls-to-execution-change` arguments
0 commit comments