diff --git a/README.md b/README.md index b6bde35d..b1049461 100644 --- a/README.md +++ b/README.md @@ -155,15 +155,26 @@ Container can be built via running `make docker-build`. ## Commitment Schemas -Commitments returned from the EigenDA Proxy adhere to the following byte encoding: +### Optimism Commitment Mode +For `alt-da` clients running on Optimism, the following commitment schema is supported: ``` - 0 1 2 3 N - |--------|--------|---------|---------------| - commit da layer version raw commitment + 0 1 2 3 N + |--------|--------|---------|----------------| + commit da layer version raw commitment type type byte ``` +### Generic Commitment Mode +For generic clients communicating with proxy, the following commitment schema is supported: + +``` + 0 1 N + |---------|-----------------| + version raw commitment + byte +``` + The `raw commitment` is an RLP-encoded [EigenDA certificate](https://github.com/Layr-Labs/eigenda/blob/eb422ff58ac6dcd4e7b30373033507414d33dba1/api/proto/disperser/disperser.proto#L168). **NOTE:** Commitments are cryptographically verified against the data fetched from EigenDA for all `/get` calls. The server will respond with status `500` in the event where EigenDA were to lie and provide falsified data thats irrespective of the client provided commitment. This feature cannot be disabled and is part of standard operation.