Skip to content
/ nitro Public
forked from OffchainLabs/nitro

Nitro goes vroom and fixes everything

License

Notifications You must be signed in to change notification settings

0glabs/nitro

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


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

About

Nitro goes vroom and fixes everything

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 84.9%
  • Rust 12.3%
  • WebAssembly 1.1%
  • Makefile 0.6%
  • C 0.5%
  • Dockerfile 0.4%
  • Other 0.2%