Step-by-step guide for upgrading the Chainbase AVS Operator

post image

🚀 Chainbase AVS Operator Upgrade - Step-by-Step Guide

Step 1: Make sure you have installed all required prerequisites

Docker

post image

Docker-Compose

post image

Go language

post image

Linux Environment: Eigenlayer’s CLI only runs in a Linux environment.

Eigenlayer

post image

If you’ve previously run a Chainbase AVS Operator

Step 2: Delete old version chainbase-avs-setup directory on your server, back up your encrypted ECDSA and BLS keys

rm -rf chainbase-avs-setup

Step 3: Clone the Chainbase avs repo

git clone https://github.com/chainbase-labs/chainbase-avs-setup && cd chainbase-avs-setup/holesky

Step 4: Set up the environment file:

post image

cp .env.example .env

Update your .env file with the required fields

nano .env

post image

Use the command eigenlayer operator keys list to find your ECDSA and BLS key paths and operator address.

post image

Notes to update your .env file:

  • Operator Address: Must match your ECDSA key address.

  • Node_Socket: Set as <your_server_public_ip>:8011.

  • To find your public IP, run: curl -s ifconfig.me or whatismyipaddress.com*

  • Ensure your server's public IP is accessible, and that port 8011 is open in your firewall settings: sudo ufw status | grep 8011

  • if port 8011 is not listed as "ALLOW", you can open it with the following command:sudo ufw allow 8011

Note: If you don’t have backup ECDSA/BLS key, you can create both keys as follows:

eigenlayer operator keys create --key-type ecdsa your_key_name

post image

eigenlayer operator keys create --key-type bls your_key_name

post image

Note: make sure you save/backup the both keys password and private keys

Step 5: Grant executable permissions to the bash script

chmod +x ./chainbase-avs.sh

post image

Step 6: Register and Run Chainbase AVS your operator

./chainbase-avs.sh register

post image

./chainbase-avs.sh run

post image

Step 7: Run the following command to test node:

./chainbase-avs.sh test

post image

If you see the output All systems are working for your manuscript node in the command line output, it indicates that your node is running correctly.

post image

Step 8) Update & Monitoring

Dashboard

Access the dashboard by visiting :3010 in your browser. If it doesn't load, ensure port 3010 is open and configured in your server's firewall. Update the node socket: Configure NODE_SOCKET in the .env file, then run the command: ./chainbase-avs.sh socket Update Node Update the AVS node: ./chainbase-avs.sh update Monitor Logs Check your Docker and container logs: docker ps docker-compose logs -f docker-compose logs -f <container_name> docker logs -f <container_id> Refer to the official documentation if necessary. https://docs.chainbase.com/node/operator https://docs.eigenlayer.xyz/eigenlayer/operator-guides/operator-installation