Run an Aggregator Node
The Othentic CLI includes built-in node software that AVS Operators run to participate in consensus.
Read More
Prerequisites
Non zero Voting Power in the AVS Attestation center contract
AVS Contract addresses
Environment Setup
Create or edit a .env
file with your configuration:
Specify
L1_CHAIN
andL2_CHAIN
variables; See Supported Networks page for chain namesSpecify
L1_RPC
andL2_RPC
, ensure you are using paid, reliable RPC endpointsSpecify the
PRIVATE_KEY
: Set this to the Consensus KeyOPERATOR_ADDRESS
: Set this to the public address of the Controller Key. the public address of the account that has signed up with the shared security protocol - the address to which stakers delegate their staked assets
# Network Configuration
BOOTSTRAP_NODE_ID=12D3KooW... # Bootstrap Peer ID
# Chain Configuration
L1_CHAIN=holesky # Single L1 chain
L2_CHAIN=amoy,base-sepolia # Comma-separated L2 chains
# RPC Endpoints
L1_RPC=<HOLESKY_RPC_URL>
L2_RPC=amoy@<AMOY_RPC_URL>,base-sepolia@<BASE_SEPOLIA_RPC_URL> # Comma-separated L2 names@RPCs
# Operator Configuration
OPERATOR_ADDRESS=0x... # Operator public address
PRIVATE_KEY=0x... # Consensus Key if separating operator keys
Health Check
When running the node with the --json-rpc
flag, the RPC server starts and provides a /healthcheck
endpoint to verify its status. For example:
curl -X GET http://localhost:8545/healthcheck
This endpoint should return OK
if the node is functioning properly, indicating the RPC service is active. For more detailed monitoring, use Metrics or Logging.
Advanced Features
The following configurations are mandatary for production AVSs.
Here is a link to the docker file to run an Aggregator node
Next Steps :
Refer to the AVS-specific documentation for detailed instructions on running an Operator.
Last updated