
🚀 Chainbase AVS Operator Upgrade - Step-by-Step Guide
Step 1: Make sure you have installed all required prerequisites
Docker

Docker-Compose

Go language

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

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:

cp .env.example .env
Update your .env file with the required fields
nano .env

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

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.meor whatismyipaddress.com*Ensure your server's public IP is accessible, and that port 8011 is open in your firewall settings:
sudo ufw status | grep 8011if 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

eigenlayer operator keys create --key-type bls your_key_name

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

Step 6: Register and Run Chainbase AVS your operator
./chainbase-avs.sh register

./chainbase-avs.sh run

Step 7: Run the following command to test node:
./chainbase-avs.sh test

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.

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
