Building your own AVS

This page describes how to build the AVS to integrate with Imua

1. Learn the Imua-AVS fundamentals

To make an AVS, read through the AVS Overview page. Break down your AVS into different tasks can be performed by operators. Then, build out a task "giver" binary and a task "receiver" binary, the latter of which will be run by operators.

2. Local AVS Development and Testing

See the previous page for a more in-depth example.

AVS Smart Contract Requirement

  1. Implement an instance of AVS service contract

    Please see the example from our Hello World AVS which utilizes the Imua AVS SDK.

AVS Smart Contract Deployment Requirement

Deploy your AVS Contracts on Imuachain

Operator Requirement

  1. AVS registration with Imuachain

  2. Operator registration with the AVS.

  3. AVS Task registration with Imuachain

3. Testnet deployment

  1. Package a customized Operator executable binary based on the hello-world-avs example and the imua-avs-sdk

  2. Document the AVS for users, operators and downstream AVS users.

    • AVS definition: AVS register, deregister, meta information and etc.

    • AVS task definition: AVS Task register, deregister, meta information and etc.

    • Operator instruction to install, register, deregister.

    • Operator monitoring tooling, such as Grafana dashboard, log files and more.

4. Preparing and Deploying to Mainnet

  1. AVS smart contract and binary audit: Ensure that a reputable firm has verified your code to guard against vulnerabilities.

  2. Finalize the AVS Service, User and Operator documentation.

Last updated