From c1bf0b7efa49683d30923e1d74c28b66b846b6bf Mon Sep 17 00:00:00 2001 From: ttarsi <31632172+ttarsi@users.noreply.github.com> Date: Fri, 12 Apr 2024 16:36:10 -0400 Subject: [PATCH] chore(docs): update operator docs for mainnet (#846) adds mainnet info. task: none --- .../operate/{testnet => onboarding}/client.md | 0 .../{testnet => onboarding}/install.md | 0 .../{testnet => onboarding}/register.md | 19 ++++++------------- .../{testnet => onboarding}/testnet.md | 4 ++-- docs/site/sidebars.ts | 4 ++-- 5 files changed, 10 insertions(+), 17 deletions(-) rename docs/site/docs/operate/{testnet => onboarding}/client.md (100%) rename docs/site/docs/operate/{testnet => onboarding}/install.md (100%) rename docs/site/docs/operate/{testnet => onboarding}/register.md (79%) rename docs/site/docs/operate/{testnet => onboarding}/testnet.md (72%) diff --git a/docs/site/docs/operate/testnet/client.md b/docs/site/docs/operate/onboarding/client.md similarity index 100% rename from docs/site/docs/operate/testnet/client.md rename to docs/site/docs/operate/onboarding/client.md diff --git a/docs/site/docs/operate/testnet/install.md b/docs/site/docs/operate/onboarding/install.md similarity index 100% rename from docs/site/docs/operate/testnet/install.md rename to docs/site/docs/operate/onboarding/install.md diff --git a/docs/site/docs/operate/testnet/register.md b/docs/site/docs/operate/onboarding/register.md similarity index 79% rename from docs/site/docs/operate/testnet/register.md rename to docs/site/docs/operate/onboarding/register.md index a19d7896e..c03c659c5 100644 --- a/docs/site/docs/operate/testnet/register.md +++ b/docs/site/docs/operate/onboarding/register.md @@ -11,7 +11,7 @@ You will need to have an `operator.yml` file to perform this registration. This
`operator.yml` Reference -For further information on this reference, please refer to the [EigenLayer reference example](https://github.com/Layr-Labs/eigenlayer-cli/blob/master/pkg/operator/config/operator-config-example.yaml). +For further information on this reference, please refer to the [EigenLayer reference example](https://github.com/Layr-Labs/eigenlayer-cli/blob/master/pkg/operator/config/operator-config-example.yaml). Note that this example was generated for Holesky testnet. You should use your pre-existing `operator.yaml`, configured for the network you're registering on. ```yaml operator: @@ -20,25 +20,18 @@ 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: 0xA44151489861Fe9e3055d95adC98FbD462B948e7 # The address of the EigenLayer delegation manager on Holesky -eth_rpc_url: https://ethereum-holesky-rpc.publicnode.com # Holesky RPC URL +el_delegation_manager_address: 0xA44151489861Fe9e3055d95adC98FbD462B948e7 # The address of the EigenLayer delegation manager on Holesky -- replace with mainnet address for mainnet registration +eth_rpc_url: https://ethereum-holesky-rpc.publicnode.com # Holesky RPC URL -- replace with mainnet RPC URL for mainnet registration 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: 17000 # The chain ID of Holesky +chain_id: 17000 # The chain ID of Holesky -- replace with `1` for mainnet ```
## 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: +Run the following command to register as an operator: ```bash omni operator register --config-file ~/path/to/operator.yaml @@ -46,6 +39,6 @@ omni operator register --config-file ~/path/to/operator.yaml :::info -The AVS address (`0xa7b2e7830C51728832D33421670DbBE30299fD92`) is the address of the Omni AVS contract [deployed on Holesky testnet](https://holesky.etherscan.io/address/0xa7b2e7830C51728832D33421670DbBE30299fD92) that will be called by the `register` command. +The AVS address (`0xa7b2e7830C51728832D33421670DbBE30299fD92`) is the address of the Omni AVS contract [deployed on Holesky testnet](https://holesky.etherscan.io/address/0xa7b2e7830C51728832D33421670DbBE30299fD92) that will be called by the `register` command. The Mainnet AVS address is [`0xed2f4d90b073128ae6769a9A8D51547B1Df766C8`](https://etherscan.io/address/0xed2f4d90b073128ae6769a9A8D51547B1Df766C8). ::: diff --git a/docs/site/docs/operate/testnet/testnet.md b/docs/site/docs/operate/onboarding/testnet.md similarity index 72% rename from docs/site/docs/operate/testnet/testnet.md rename to docs/site/docs/operate/onboarding/testnet.md index 4c37783ad..368eec8e9 100644 --- a/docs/site/docs/operate/testnet/testnet.md +++ b/docs/site/docs/operate/onboarding/testnet.md @@ -4,8 +4,8 @@ sidebar_position: 1 # EigenLayer Registration -## Registering as an Operator for Testnet +## Registering as an Operator for Testnet & Mainnet -To register with Omni, operators must first register as an operator on the Eigenlayer smart contracts on Holesky testnet. +To register with Omni, operators must first register as an operator on the Eigenlayer smart contracts on Holesky testnet or Mainnet. 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). diff --git a/docs/site/sidebars.ts b/docs/site/sidebars.ts index bb45c5d71..3b715d295 100644 --- a/docs/site/sidebars.ts +++ b/docs/site/sidebars.ts @@ -219,13 +219,13 @@ const sidebars: SidebarsConfig = { }, { type: "category", - label: "Testnet", + label: "Onboarding", className: "sidebar-title", collapsible: false, items: [ { type: "autogenerated", - dirName: "operate/testnet", + dirName: "operate/onboarding", } ] }