Submit Task
Core AVS logic consists of the atomic units of work called Tasks.
We will now run the operator node software and submit the first task in your example AVS, which fetches the price of ETH from Binance, verifies it, and posts the result on-chain.
Prerequisites
Docker Engine installed, including
docker-compose
Verify environment variables setup
Make sure your .env
file exists and includes all the variables as per the .env.example
in the repo.
Verify Successful Execution and Submission
To find the transaction hash, check the Docker container logs or visit the AttestationCenter contract and look for submitTask
transactions.
Look for the following logs emitted by the aggregator container:
Task with proofOfTask: <proofOfTask> has been approved and submitted, on chain 84532, tx: <txHash>
Next, explore how to extend AVS functionality beyond the basics.
Next Steps
Explore the Quickstart repository
Extend Execution and Validation service logic Implement your own business logic and use the AVS you just deployed as scaffolding.
Use the CLI Command Reference Refer to the CLI Command Reference for a complete list of commands.
Last updated