Skip to content

Commit

Permalink
docs(operate): update operator docs for holesky (#646)
Browse files Browse the repository at this point in the history
  • Loading branch information
idea404 authored Mar 22, 2024
1 parent 18e8ff1 commit bfb825d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 7 deletions.
20 changes: 18 additions & 2 deletions docs/site/docs/operate/testnet/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,26 @@ This is the component that participates in network validation. Our consensus cli

Similar to Ethereum, Omni validators run 2 components: our consensus client, `halo`, and an EVM execution client `geth`, `erigon`, `nethermind`, etc. The EVM execution client does not require any modifications.

:::info
## Obtain $OMNI

To run the client, you will need **\$OMNI**. You can obtain $OMNI by reaching out to the team.

## Initialize and Run the Client

:::warning Feature not yet enabled

This feature is not yet enabled. Please do not attempt to run it.

:::

<!-- TODO(dennis): include run commands, preferably with CLI -->
After adding the `halo` binary to your system, you can initialize and run the client with the following command:

```bash
halo init --network testnet
```

This command initializes the setup, creating several configuration files required for running the node. You can then run the client with the following command:

```bash
halo run
```
14 changes: 10 additions & 4 deletions docs/site/docs/operate/testnet/register.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,23 @@ operator:
delegation_approver_address: "0x0000000000000000000000000000000000000000" # Your delegation approver address, may be left as shown
staker_opt_out_window_blocks: 0 # may be left as shown, and can be updated later using EigenLayer CLI
metadata_url: "https://raw.githubusercontent.com/idea404/resources/main/eigenlayer/metadata.json" # Your metadata URL
el_delegation_manager_address: 0x1b7b8F6b258f95Cf9596EabB9aa18B62940Eb0a8 # The address of the EigenLayer delegation manager on Goerli
eth_rpc_url: http://127.0.0.1:8002 # Your node Ethereum RPC URL
el_delegation_manager_address: 0xA44151489861Fe9e3055d95adC98FbD462B948e7 # The address of the EigenLayer delegation manager on Holesky
eth_rpc_url: https://ethereum-holesky-rpc.publicnode.com # Holesky RPC URL
private_key_store_path: /Users/idea404/.eigenlayer/operator_keys/OpKeys1.ecdsa.key.json # Your private key store path generated or imported by EigenLayer CLI
signer_type: local_keystore # Your signer type, may be left as shown
chain_id: 5 # The chain ID of Goerli
chain_id: 17000 # The chain ID of Holesky
```
</details>
## Register as an Operator
:::warning
The CLI will be updated to include the Holesky AVS address soon. For now, do not run the command below.
:::
1. Ensure that your node address has been added to the allowed list of operators.
2. Run the following command to register as an operator:
Expand All @@ -40,6 +46,6 @@ omni operator register --config-file ~/path/to/operator.yaml

:::info

The AVS address (`0x848BE3DBcd054c17EbC712E0d29D15C2e638aBCe`) is the address of the Omni AVS contract [deployed on Goerli testnet](https://goerli.etherscan.io/address/0x848BE3DBcd054c17EbC712E0d29D15C2e638aBCe) that will be called by the `register` command.
The AVS address (`$OMNI_HOLESKY_AVS_ADDRESS`) is the address of the Omni AVS contract [deployed on Holesky testnet](https://holesky.etherscan.io/) that will be called by the `register` command.

:::
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ sidebar_position: 1

## Registering as an Operator for Testnet

To register with Omni, operators must first register as an operator in Eigenlayer testnet.
To register with Omni, operators must first register as an operator on the Eigenlayer smart contracts on Holesky testnet.

This registers your Ethereum public key with the Eigenlayer smart contracts. You can follow Eigenlayer's instructions [here](https://docs.eigenlayer.xyz/eigenlayer/operator-guides/operator-installation).

0 comments on commit bfb825d

Please sign in to comment.