@@ -84,7 +84,12 @@ This will display the current version of the operator binary.
8484
8585## Step 3 - Update the configuration for your specific Operator
8686
87- Update the following placeholders in ` ./config-files/config-operator-mainnet.yaml ` :
87+ Locate the appropiate ` operator_config_file ` :
88+
89+ - Mainnet: ` ./config-files/config-operator-mainnet.yaml ` .
90+ - Holesky: ` ./config-files/config-operator-holesky.yaml ` .
91+
92+ Update the following placeholders:
8893
8994- ` "<operator_address>" `
9095- ` "<earnings_receiver_address>" `
@@ -133,21 +138,37 @@ eth_ws_url_fallback: "wss://<RPC_2>"
133138
134139Then you must register as an Operator on AlignedLayer. To do this, you must run:
135140
141+ - Mainnet:
142+
136143` ` ` bash
137144make operator_register_with_aligned_layer CONFIG_FILE=./config-files/config-operator-mainnet.yaml
138145```
139146
147+ - Holesky:
148+
149+ ``` bash
150+ make operator_register_with_aligned_layer CONFIG_FILE=./config-files/config-operator-holesky.yaml
151+ ```
152+
140153{% hint style="danger" %}
141154If you are going to run the server in this machine,
142155delete the operator key
143156{% endhint %}
144157
145158## Step 5 - Start the operator
146159
160+ - Mainnet:
161+
147162``` bash
148163./operator/build/aligned-operator start --config ./config-files/config-operator-mainnet.yaml
149164```
150165
166+ - Holesky:
167+
168+ ``` bash
169+ ./operator/build/aligned-operator start --config ./config-files/config-operator-holesky.yaml
170+ ```
171+
151172### Run Operator using Systemd
152173
153174To manage the Operator process on Linux systems, we recommend use systemd with the following configuration:
@@ -164,7 +185,7 @@ After=network.target
164185[Service ]
165186Type =simple
166187User =aligned
167- ExecStart =<path_to_aligned_layer_repository>/operator/build/aligned-operator start --config <path_to_operator_config >
188+ ExecStart =<path_to_aligned_layer_repository>/operator/build/aligned-operator start --config <path_to_operator_config_file >
168189Restart =always
169190RestartSec =1
170191StartLimitBurst =100
@@ -212,6 +233,14 @@ journalctl -xfeu aligned-operator.service
212233
213234To unregister the Aligned operator, run:
214235
236+ - Mainnet:
237+
238+ ``` bash
239+ cast send --rpc-url https://ethereum-rpc.publicnode.com --private-key < private_key> 0xA8CC0749b4409c3c47012323E625aEcBA92f64b9 ' deregisterOperator(bytes)' 0x00
240+ ```
241+
242+ - Holesky:
243+
215244``` bash
216245cast send --rpc-url https://ethereum-holesky-rpc.publicnode.com --private-key < private_key> 0x3aD77134c986193c9ef98e55e800B71e72835b62 ' deregisterOperator(bytes)' 0x00
217246 ```
0 commit comments