Publish Task-based AVS
DevKit publishes your AVS release to the ReleaseManager contract which makes it available for operators to upgrade to.
Prerequisites:
Setting Release Metadata URI
You must set a release metadata URI before publishing releases. The metadata URI provides important information about your release to Operators.
To set the metadata URI for your Operator Sets:
# Set metadata URI for operator set 0
devkit avs release uri --metadata-uri "https://example.com/metadata.json" --operator-set-id 0
# Set metadata URI for operator set 1
devkit avs release uri --metadata-uri "https://example.com/metadata.json" --operator-set-id 1
Required Flags:
--metadata-uriThe URI pointing to your release metadata--operator-set-idThe operator set ID to configure
Optional Flags:
--avs-addressAVS address (uses context if not provided)
Publishing Release
Before publishing a release, ensure you have:
- Built your AVS with
devkit avs build - A running DevNet
- Properly configured registry in your context (or specify the command parameter)
- Set release metadata URI for your Operator Sets
important
The upgrade-by-time must be in the future. Operators have until the specified timestamp to upgrade to the new version.
DevNet must be running before publishing.
In your product directory, run:
devkit avs release publish --upgrade-by-time 1750000000
Required Flags:
--upgrade-by-timeUnix timestamp by which operators must upgrade
Optional Flags:
--registryRegistry for the release (defaults to context)