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
To update the operator, first stop the process running the operator (if there is any) and then run:
196
-
197
-
```bash
198
-
git pull
199
-
make build_operator
200
-
```
201
-
202
-
#### Configuration
194
+
#### From source (Recommended)
203
195
204
196
Update the following placeholders in `./config-files/config-operator.yaml`:
205
-
206
-
-`"<ecdsa_key_store_location_path>"`
207
-
-`"<bls_key_store_location_path>"`
208
197
-`"<operator_address>"`
209
198
-`"<earnings_receiver_address>"`
199
+
-`"<ecdsa_key_store_location_path>"`
200
+
-`"<ecdsa_key_store_password>"`
201
+
-`"<bls_key_store_location_path>"`
202
+
-`"<bls_key_store_password>"`
210
203
211
204
`"<ecdsa_key_store_location_path>"` and `"<bls_key_store_location_path>"` are the paths to your keys generated with the EigenLayer CLI, `"<operator_address>"` and `"<earnings_receiver_address>"` can be found in the `operator.yaml` file created in the EigenLayer registration process.
212
205
The keys are stored by default in the `~/.eigenlayer/operator_keys/` directory, so for example `<ecdsa_key_store_location_path>` could be `/path/to/home/.eigenlayer/operator_keys/some_key.ecdsa.key.json` and for `<bls_key_store_location_path>` it could be `/path/to/home/.eigenlayer/operator_keys/some_key.bls.key.json`.
213
206
207
+
#### Using docker
208
+
209
+
Update the following placeholders in `./config-files/config-operator.docker.yaml`:
210
+
-`"<operator_address>"`
211
+
-`"<earnings_receiver_address>"`
212
+
-`"<ecdsa_key_store_password>"`
213
+
-`"<bls_key_store_password>"`
214
+
215
+
Make sure not to update the `ecdsa_key_store_location_path` and `bls_key_store_location_path`
216
+
as they are already set to the correct path.
217
+
218
+
Then create a .env file in `operator/docker/.env`.
219
+
An example of the file can be found in `operator/docker/.env.example`.
|`ECDSA_KEY_FILE_HOST`| Absolute path to the ECDSA key file. If generated from Eigen cli it should be in ~/.eigenlayer/operator_keys/ |
226
+
|`BLS_KEY_FILE_HOST`| Absolute path to the BLS key file. If generated from Eigen cli it should be in ~/.eigenlayer/operator_keys/ |
227
+
|`OPERATOR_CONFIG_FILE_HOST`| Absolute path to the operator config file. It should be path to config-files/config-operator.docker.yaml |
228
+
214
229
### Deposit Strategy Tokens
215
230
216
231
We are using [WETH](https://holesky.eigenlayer.xyz/restake/WETH) as the strategy token.
@@ -223,39 +238,45 @@ You will need to stake a minimum of a 1000 Wei in WETH. We recommend to stake a
223
238
EigenLayer's guide can be found [here](https://docs.eigenlayer.xyz/eigenlayer/restaking-guides/restaking-user-guide/liquid-restaking/restake-lsts).
224
239
225
240
#### Option 2:
226
-
If you have ETH and need to convert it to WETH you can use the following command, that will convert 1 Eth to WETH. Change the parameter in ```---value``` if you want to wrap a different amount:
241
+
If you have ETH and need to convert it to WETH you can use the following command, that will convert 1 Eth to WETH.
242
+
Make sure to have [foundry](https://book.getfoundry.sh/getting-started/installation) installed.
243
+
Change the parameter in ```---value``` if you want to wrap a different amount:
Here `<private_key>` is the placeholder for the ECDSA key specified in the output when generating your keys with the EigenLayer CLI.
233
250
234
-
Finally, to end the staking process, you need to deposit into the strategy, as shown in EigenLayer's guide, or alternatively, you can run the following command to deposit 1 WETH:
251
+
Finally, to end the staking process, you need to deposit into the WETH strategy,
0 commit comments