AVS Operator
Last updated
Last updated
This documentation gives an in-depth guide for setting up, registering, configuring, and running an AVS (Actively Validating Services) Operator in the Hemera ecosystem. As an AVS Operator, your role is central to maintaining data transparency and accuracy across the Hemera Protocol. By validating and aggregating on-chain data, the AVS Operator ensures that all Hemera network participants have access to reliable, verifiable information. This essentially involves validating blocks and transactions, comparing data across multiple sources, and contributing to Hemera’s unique history transparency.
AVS Operators are critical for Hemera’s decentralized data verification structure which brings enhanced trust and security to the platform’s users and data-driven applications.
Before you can register as an AVS Operator, you need to set up your keys and wallet.
Install EigenLayer CLI: Follow EigenLayer’s Installation Guide to set up the EigenLayer CLI on your machine.
Generate Keys: Create both ECDSA and BLS keypairs using the following commands:
This will create an ECDSA and BLS keypair for secure, verifiable operations on EigenLayer and Hemera. Remember to back up your private keys securely. The encrypted keys are stored by default at ~/.eigenlayer/operator_keys/
.
Note: Skip this section if you are already a registered operator on the EigenLayer testnet and mainnet. Registration is required separately for testnet and mainnet.
Create Configuration Files: Use the command below to generate the necessary operator registration files (operator.yaml
and metadata.json
).
Follow the prompts to complete the configuration setup.
Edit metadata.json
: Fill in your operator’s details. This metadata will be publicly accessible and includes your operator name, website, description, and social links.
Upload metadata.json
to a Public URL: You can use services like GitHub Gist to host the metadata file. Once hosted, update the operator.yaml
file with this public metadata_url
.
Register Operator: To finalize registration, run:
A success message will confirm the operator registration: ✅ Operator is registered successfully to EigenLayer
.
Check Registration Status: Verify the registration by checking the EigenLayer operator page or using the CLI command below:
After registering on EigenLayer, the next step is to integrate your operator with Hemera AVS:
Whitelist Registration: Contact Hemera support to add your operator address to the AVS whitelist.
Run Operator Registration Script: Follow alt-research’s guide to register using register_operator.sh
.
Edit the indexer-config-avs-holesky.yaml
file, located in the configuration directory, to include the necessary details for running as an AVS operator:
Update the following items in the configuration file:
operator_ecdsa_key_file
: Path to your ECDSA key file.
operator_bls_key_file
: Path to your BLS key file.
These keys are required to sign and validate data with the Hemera AVS protocol.
You can run the AVS Operator either directly from the source code or by using Docker.
Navigate to the Hemera indexer directory. Checkout this guide on how to setup hemera indexer: Installation
Run the following command to start the AVS Operator, specifying the configuration file and database output details:
This command initializes the operator, establishing connections to RPC and data validation sources.
Navigate to the Docker Compose directory and update environment variables in avs.env
to suit your setup.
Start the AVS Operator in Docker by running:
Docker is ideal for streamlined deployments and scalable operation setups.
What is the role of an AVS Operator in Hemera? An AVS Operator in Hemera is responsible for validating and aggregating on-chain data, ensuring transparency and accuracy. This helps maintain a reliable data layer that Hemera and its users can trust for decentralized applications.
How do I update the operator metadata after registration?
Update the metadata.json
file with the new information, host it publicly, and edit the operator.yaml
file to reflect the updated metadata_url
. Run the following command to apply the update:
Can I run the AVS Operator on multiple machines? Yes, you can deploy the AVS Operator on multiple instances to improve redundancy and handle higher data volumes. Make sure each instance is configured with unique credentials and environment variables.
How can I verify that my AVS Operator is running correctly?
Use the eigenlayer operator status operator.yaml
command to check the operator's registration status. Additionally, monitor logs for any errors and confirm that data is being populated in the configured database.
What happens if my keys are compromised? In case of a security breach, generate new keys immediately using the EigenLayer CLI, update your configurations, and re-register if necessary. Secure backups of all private keys are strongly recommended.
For additional support, join our Discord community or contact us via email:
Discord: Join Hemera’s Community
Email: contact@thehemera.com