Prerequisites
Last updated
Last updated
Here are the environment prerequisites for integrating external AVSs with Imua.
The integration involves two key components:
The Imua on-chain AVS smart contract. To begin, it's necessary to develop a customized AVS smart contract based on the provided Solidity smart contract template within hello-world-avs. This requires a Solidity environment version 0.8.17 or higher for contract deployment.
The Imua off-chain AVS client software, which facilitates interaction with the Imua Networks for AVS Service. It is necessary to install, build, and run the AVS client software hello-world-avs to ensure proper functionality.
For a more detailed understanding of the AVS software code, you may refer to the detailed implementation in imua-avs-sdk; the hello-world-avs project relies on this as a dependency.
The AVSServiceContract
.sol and IAVSManager
.sol contracts should be deployed on the Imua chain, similar as following:
The precompiled contract efficiently manages all essential functions for onboarding preparation, facilitating support for EVM transactions. Such as:
As the AVS need to choose the operator that they want to register, so the according operators must register into the Imua network.
The AVS should be aware by Imua network, so the AVS must register with Imua chain.
Tasks must be defined for the AVSs on the Imua chain to facilitate future on-chain task verification, reward, and other operational purposes.