All docs

0G · Storage & DA

The bet

Receipts have to outlive the app. The passport, the capability token, and the inference artifact all belong on 0G Storage, addressed by hash.

Implementation

  • Package: @0gfoundation/0g-storage-ts-sdk.
  • Passport JSON, capability-token metadata, and inference artifacts are uploaded to 0G Storage with the artifact hash as the storage key.
  • Ognef stores only the root hash + gateway URL. If Ognef disappears, the receipts don't.

Win condition

  • Judge deletes the row. Judge fetches the hash from 0G. Same bytes. Same signature.
/docs/og-storage