Skip to content

Latest commit

 

History

History
40 lines (29 loc) · 1.62 KB

README.md

File metadata and controls

40 lines (29 loc) · 1.62 KB

Logo

+

Logo


Arbitrum 0G Integration Guide

Overview

The Arbitrum 0G integration allows developers to deploy an Orbit Chain using 0G (Zero Gravity) for data availability. This integration marks the first AI-focused external integration to the Arbitrum Orbit protocol layer, offering an alternative to Arbitrum AnyTrust for high-performance data availability.

Key Components

  1. DA Provider Implementation: Implements the DataAvailabilityProvider interface for 0G DA.
  2. Preimage Oracle Implementation: Supports fraud proofs by populating the preimage mapping with 0G hashes.
  3. 0G Integration: Ensures data integrity and availability through 0G's consensus mechanism.

0G DA Provider Implementation

The core logic for posting and retrieving data is implemented in the zerogravity.go file. Key features include:

  • ZgDA struct: Manages the connection to the 0G disperser client.
  • Store method: Handles data storage on 0G, breaking large blobs into smaller chunks if necessary.
  • Read method: Retrieves data from 0G using the provided blob parameters.

Learn More About 0G

0G Website 0G Github

Learn More About Arbitrum Orbit

Arbitrum Orbit Docs