rollkit / avail-da

Apache License 2.0
20 stars 7 forks source link

Avail DA

Abstract

This package implements the generic DA interface defined in go-da

Details

The generic DA interface defines how DA implementations can submit, retrieve and validate blobs.

The Avail DA implementation connects to a local Avail-light-node instance using the given config and allows using Avail as the DA layer.

Implementation

The implementation calls the corresponding Avail node api docs methods.

Get

Get retrieves blobs referred to by their ids.

The implementation calls Get endpoint on the Avail-light-node API.

Submit

Submit submits blobs and returns their ids and proofs.

The implementation calls Submit endpoint on the Avail-light-node API.

Installation & Setup

Dependencies

Avail-Light installation for local development Environment

1. Data availability node

2. Avail light bootstrap node

3. Avail light node

Building your soverign rollup

Now that you have a da node and light client running, we are ready to build and run our Cosmos-SDK blockchain (here we have taken gm application)

With this You've built a local rollup that posts to a local avail light node