Skip to content

mangata-finance/avs-operator-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation of Finalizer Operator using docker

AVS Registry Contract: 0xfd6A45621DDfeBF94C082e60E0De92aA305a97a1

Prerequisites:

  • Docker installed
  • Eigenlayer CLI installed

NOTE: For any Docker based commands, if you have installed as root then you might have to append sudo in front of the command.

Core operations

  • Register your operator to eigenlayer using Eigenlayer CLI
  • Deposit your stake at Eigenlayer App, see Eigenlayer stake guide for more info
    AVS supports [ankrETH, mETH, stETH, ETHx, osETH, sfrxETH, rETH, WETH] tokens provided by EigenLayer, with minimum of 10 ETH total stake for operator registration Max operators count is currently limited to 50, first come first served. Operators are required to run their nodes with provided docker image. If a registered operator does not provide responses, an automatic check will eventually eject them from the AVS operators active list. Operator stakes are updated regularly, if the stake drops below minimum required stake, operator will be ejected.

Setup Operator

The easiest way to set up is to clone the repo and follow the instructions below.

Clone repo

Clone this repo and execute the following commands:

git clone https://github.com/mangata-finance/avs-operator-setup.git
cd avs-operator-setup
chmod +x run.sh

Update the TODO sections in the .env file given in the root directory of the repository with your own details:

Opt-in into AVS

./run.sh opt-in

Run Finalizer Operator

Execute the following command to start the docker containers:

docker compose up -d

you can view the logs using:

docker logs -f <container_id>

Tear down container

docker compose down

Opt-out into AVS

./run.sh opt-out

Upgrade your node

Upgrade the AVS software for your Finalizer service setup by following the steps below:

Step 1: Pull the latest repo

cd avs-operator-setup
git pull

Step 2: Pull the latest docker images

docker compose pull

Step 3: Stop the existing services

docker compose down

Step 4: Start your services again

If there are any specific instructions that needs to be followed for any upgrade, those instructions will be given with the release notes of the specific release. Please check the latest release notes on Github and follow the instructions before starting the services again.

docker compose up -d