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.git
Copy
.example_env
into.env
.
cd zscore-attester-prod
cp .env.example .env
Edit the
.env
Update 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_RPC
andL2_RPC
with private RPCs for Ethereum Mainnet and Base, respectively.L1_RPC=<ETH_PRIVATE_RPC> L2_RPC=<BASE_PRIVATE_RPC>
Update the
ATTESTER_PUBLIC_IP_ADDRESS
with the IP address where the attester code is running.ATTESTER_PUBLIC_IP_ADDRESS=<IP_ADDRESS>
Update the
ATTESTER_PEER_ID
with 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.sh
to setup the required dependencies like docker and docker-compose (this is optional, if you have already installed docker)
chmod +x setup.sh
sh setup.sh
Then you can run the actual attester node by running:
docker compose build --no-cache
docker compose up -d
To see logs you can run: (optional)
docker compose logs -f
Happy Attesting zScore!!
Last updated