Operator onboarding

K3 AVS Operator Configuration Guide

  1. Pull the docker image from the Docker Hub.

docker pull k3official/k3-labs-avs-operator:latest
  1. Populate the .env file with all the required information. Copy the below template.

L1_RPC= # Your Holesky RPC
L2_RPC= # Your AMOY RPC 

PRIVATE_KEY= # Operator private key

# You can leave the below values as is.

L1_CHAIN=17000
L2_CHAIN=80002

PINATA_API_KEY=d358585196381e27025f
PINATA_SECRET_API_KEY=27980e9073bceed412ba702dd4a4f18e0ee716b27ba800da3674323e09c32e3c

TASK_PERFORMER=0x3c7a1a9c769009D21fe2FCfb08c7334919F641fe 


ATTESTATION_CENTER_ADDRESS=0x1902fF411F388C5ae4555260E25B9d43288f5FaE
OTHENTIC_REGISTRY_ADDRESS=0x41994741eD86Ec48e9578d0f64839E3F546466Fa
AVS_GOVERNANCE_ADDRESS=0x2662e4774fbF5dEE8cDDAC2b0B17E8B4C458300a

IPFS_HOST=https://gateway.pinata.cloud/ipfs/
IPFS_API=https://api.pinata.cloud
IPFS_JWT=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySW5mb3JtYXRpb24iOnsiaWQiOiJmNjA0ZWQxZi0zMzI0LTQ2OTUtYjE0Yy1lOGIxNTZkZTk2ZmIiLCJlbWFpbCI6Imhhc3NhYW4uYWhtZWRAazMtbGFicy5jb20iLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwicGluX3BvbGljeSI6eyJyZWdpb25zIjpbeyJpZCI6IkZSQTEiLCJkZXNpcmVkUmVwbGljYXRpb25Db3VudCI6MX0seyJpZCI6Ik5ZQzEiLCJkZXNpcmVkUmVwbGljYXRpb25Db3VudCI6MX1dLCJ2ZXJzaW9uIjoxfSwibWZhX2VuYWJsZWQiOmZhbHNlLCJzdGF0dXMiOiJBQ1RJVkUifSwiYXV0aGVudGljYXRpb25UeXBlIjoic2NvcGVkS2V5Iiwic2NvcGVkS2V5S2V5IjoiZDM1ODU4NTE5NjM4MWUyNzAyNWYiLCJzY29wZWRLZXlTZWNyZXQiOiIyNzk4MGU5MDczYmNlZWQ0MTJiYTcwMmRkNGE0ZjE4ZTBlZTcxNmIyN2JhODAwZGEzNjc0MzIzZTA5YzMyZTNjIiwiaWF0IjoxNzE1MTQ5MzQ1fQ.Va5CCTPTLMRagz2hTDwEjBbeIJSB57Q7jsVk00AYkds


OTHENTIC_BOOTSTRAP_ID=12D3KooWBNFG1QjuF3UKAKvqhdXcxh9iBmj88cM5eU2EK5Pa91KB
OTHENTIC_BOOTSTRAP_SEED=97a64de0fb18532d4ce56fb35b730aedec993032b533f783b04c9175d465d9bf

APP_ID=1234

OTHENTIC_CLIENT_RPC_ADDRESS=http://34.133.156.140:8545
OTHENTIC_CLIENT_IP=34.133.156.140
OTHENTIC_AGGREGATOR_P2P_PORT=9876

AVS_WEBAPI_URL=http://localhost

AVS_WEBAPI_PORT=4002
PERFORMER_PORT=3000
AGGREGATOR_PORT=8000

ST_ETH_CONTRACT_ADDRESS=0x3F1c547b21f65e10480dE3ad8E19fAAC46C95034
ST_ETH_STAKE_AMOUNT=10000000000000000
EL_STRATEGY_MANAGER_ADDRESS=0xA744429bf286789225308a81A5a4b8049562A362
EL_DELETEGATION_MANAGER_ADDRESS=0xA44151489861Fe9e3055d95adC98FbD462B948e7

Warning:

  • Ensure no .env variables are encapsulated in double quotes (“ “)

  1. Before you can run the docker image, you have to first register yourself as an operator on the eignelayer holesky testnet network. To do this, run the following command.

docker run --env-file .env k3official/k3-labs-avs-operator register

By default, this script will stake 0.01 ETH and use it to register your address on the eigenlayer network. If you wish to stake a different amount of ETH, add the ST_ETH_STAKE_AMOUNT variable to the .env file, specifying the amount of ETH you’d like to stake in WEI. E.g: ST_ETH_STAKE_AMOUNT=1000000000000000000 You only need to run this command once.

  1. After step 3 is completed, you are ready to run one of 2 modes of serving our network. Either as an attester or a performer (you can't use both with the same private key).

docker run --env-file .env --network host  k3official/k3-labs-avs-operator attester
docker run --env-file .env --network host  k3official/k3-labs-avs-operator performer

Join our telegram chat for version updates and troubleshooting: https://t.me/k3labscoms/436

Last updated