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.
Check out this example for how to integrate the 0GDA into your own applications.
For detailed public APIs, visit gRPC API section.
- For local test environment, aws-cli is required.
- Local Stack setup
- Disperser
- Retriever
Create LocalStack(local aws simulation) docker image and start a docker instance:
cd inabox
make deploy-localstack
- Build binaries:
cd disperser
make build
- Run encoder:
make run_encoder
-
Set the cli arguments of run_batcher in Makefile to proper values. Full list of available configuration parameters are showing below.
-
Then run batcher and the main disperser server:
make run_batcher
make run_server
- Build binaries:
cd retriever
make build
- Run the main retriever server:
make run
To make contributions to the project, please follow the guidelines here.