Quickstart (Mainnet)
Prepare your system to run the zScore AVS
Prerequisites
Registered EigenLayer Operator Account: Ensure you have a fully registered EigenLayer operator account. If you don't have one, follow the steps in the Registration section to create and fund your account.
Prepare and run the attestation node
We provide a docker-compose configuration which sets up the Attester Node
Clone this repo and execute the following commands:
git clone https://github.com/zerufinance/zscore-attester-prod.gitCopy
.example_envinto.env.
cd zscore-attester-prod
cp .env.example .envEdit the
.envUpdate the PRIVATE_KEY_ATTESTER with your ethereum mainnet operator private key (ECDSA key). This is stored locally and is used to create a BLS public key.
PRIVATE_KEY_ATTESTER=<OPERATOR_PRIVATE_KEY>
Update the
L1_RPCandL2_RPCwith private RPCs for Ethereum Mainnet and Base, respectively.L1_RPC=<ETH_PRIVATE_RPC> L2_RPC=<BASE_PRIVATE_RPC>
Update the
ATTESTER_PUBLIC_IP_ADDRESSwith the IP address where the attester code is running.ATTESTER_PUBLIC_IP_ADDRESS=<IP_ADDRESS>
Update the
ATTESTER_PEER_IDwith the peer ID of the attester, which is generated using the private key. Generate the peer ID using this command:othentic-cli node get-id --node-type attester <result_PEER_ID> ATTESTER_PEER_ID=<result_PEER_ID>
Then you can run this command which will run a script called
setup.shto setup the required dependencies like docker and docker-compose (this is optional, if you have already installed docker)
chmod +x setup.sh
sh setup.shThen you can run the actual attester node by running:
docker compose build --no-cache
docker compose up -dTo see logs you can run: (optional)
docker compose logs -fHappy Attesting zScore!!
Last updated