WeaveVM <> EigenDA Proxy Server
Permanent EigenDA blobs
About EigenDA Side Server Proxy
It's a service that wraps the high-level EigenDA client, exposing endpoints for interacting with the EigenDA disperser in conformance to the OP Alt-DA server spec, and adding disperser verification logic. This simplifies integrating EigenDA into various rollup frameworks by minimizing the footprint of changes needed within their respective services.
About WeaveVM-EigenDA Side Server Proxy
WeaveVM-EigenDA Sidecar Proxy is a fork of EigenDA's sidecar proxy modified to use WeaveVM as a permanent archive layer for EigenDA blobs dispersed from this customized proxy server.
How it works
On each PUT
request it compresses the encoded eigenDA blob using brotli compression and stores the compressed blob on WeaveVM as transaction type 2 calldata.
There are endpoints to get txhash
for a provided EigenDA commitment and to get encoded blob directly from WeaveVM.
The stage of this integration is as PoC and an experimental feature. In this first v0 iteration the proxy internally stores mapping of eigenda blob as batch_id:blob_index -> wvm_tx_hash
WeaveVM Proxy Methods
1- Get WeaveVM tx hash of a dispersed blob
2- Get a dispersed blob from WeaveVM
Data pipelines
PUT blob workflow
GET blob workflow
Full test workflow example
wvm-eigenda-proxy
WeaveVM archiver address: 0xF8a5a479f04d1565b925A67D088b8fC3f8f0b7eFArchive pool address: 0x606dc1BE30A5966FcF3C10D907d1B76A7B1Bbbd9
EigenDA network: Holesky
WeaveVM network: Alphanet
WeaveVM Alphanet block explorer: https://explorer.wvm.dev
WeaveVM-EigenDA sidecar server proxy endpoint: https://eigenda-proxy-1047776281941.us-central1.run.app
1) Post data
2) Trim the blob commitment
3) Get data from the proxy
4) Get the WeaveVM data TXID for a commitment
5) Get the EigenDA archived blob's decoded data from WeaveVM
This method use WeaveVM's wvm://
data retrieval gateway to retrieve the data associated with a WeaveVM transaction (calldata) natively from WeaveVM's self-DA layer and Arweave's permanent WeaveVM-ExEx data protocol. Check out the wvm-data-retriever
codebase here
Check out the wvm-eigenda-proxy
source code here
Last updated