Skip to content

0glabs/0g-da-client

Repository files navigation

0GDA

Overview

0GDA is a decentralized data availability (DA) service with deep consideration in security, scalability and decentralization. It is also the first DA solution with a built-in data storage layer. Users interact with ZeroGDA to submit and store their data into 0G Storage for later retrieval.

To dive deep into the technical details, continue reading 0GDA protocol spec.

Integration

Check out this example for how to integrate the 0GDA into your own applications.

For detailed public APIs, visit gRPC API section.

Deployment

LocalStack

Create LocalStack(local aws simulation) docker image and start a docker instance:

cd inabox

make deploy-localstack

Disperser

  1. Build binaries:
cd disperser
make build
  1. Run encoder:
make run_encoder
  1. Set the cli arguments of run_batcher in Makefile to proper values. Full list of available configuration parameters are showing below.

  2. Then run batcher and the main disperser server:

make run_batcher

make run_server

Retriever

  1. Build binaries:
cd retriever
make build
  1. Run the main retriever server:
make run

Contributing

To make contributions to the project, please follow the guidelines here.