The Alt-DA Mode feature is currently in Beta within the MIT-licensed OP Stack. Beta features are built and reviewed by Optimism Collective core contributors, and provide developers with early access to highly requested configurations.
These features may experience stability issues, and we encourage feedback from our early users.
Build your DA server
Our suggestion is for every DA Layer to build and maintain their own DA Server, with support from the OP Labs team along the way. The DA Server will need to be run by every node operator, so we highly recommend making your DA Server open source and MIT licensed.1
Design your commitment binary encoding
- It must point to the data on your layer (like block height / hash).
- It must be able to validate the data returned from the data (i.e., include a cryptographic commitment to the data like a hash, merkle proof, or polynomial commitment, this could be done against the block hash with a complex proof).
See the specs for more info on commitment submission.
2
Claim your da\_layer byte
- Claim your byte
3
Implement the DA server
- Write a simple HTTP server which supports
get
andput
put
is used by the batcher and can return the commitment to the batcher in the body. It should not return until the data is known to be submitted to your DA layer.get
should fetch the data. If the data is not available, it should return a404
not found. If there are other errors, a different error should be returned.
Run Alt-DA
Follow our guide on how to operate an Alt-DA Mode chain, except instead of using the S3 DA server, use the DA server that you built.Next steps
- For more detail on implementing the DA Server, see the specification.