Documentation

YieldBoost AI Docs Center

Product context, honest integration notes, user walkthroughs, and developer reference for the current state of YieldBoost AI.

Current Status

0G Mainnet is the active default workspace path, while the judge review can still switch networks on demand.

Runtime Truth

UI-ready deterministic scoring with streamed narrative fallback

Platform & Trust

0G Integration

Live 0G Storage, TEE-verified inference via 0G Compute Network, explorer links, and ProofRegistry behavior.

Default Path

0G Testnet

Storage

0G Storage upload can run on the default testnet path

TEE Inference

0G Compute Network (when configured)

Explorer

https://chainscan-galileo.0g.ai

What is live in the 0G integration

  • Network configuration is modeled explicitly for testnet and mainnet in the wallet layer.
  • The proof storage route can upload a JSON proof package through the 0G TypeScript SDK when the active network has RPC, storage URL, and private key configured.
  • TEE-verified inference is available via 0G Compute Network when the active network has a compute provider address and ledger signer configured.
  • The UI consistently surfaces the resulting storage tx hash, explorer link, TEE attestation badge, and optional ProofRegistry transaction.
  • The current explorer path is built from the configured explorer base and the returned transaction hashes.

TEE-verified inference via 0G Compute

When 0G Compute credentials are configured, the optimization route prioritizes TEE-verified inference through the 0G Compute Network. This provides hardware-enforced privacy and mitigates front-running risks.

The TEE attestation includes provider address, model identifier, chat ID, and verification status. These metadata are stored alongside the proof record and surfaced in the proof modal with a distinctive green badge.

  • TEE inference is the highest-priority narrative path when configured, falling back to deterministic narrative if unavailable.
  • The UI displays a 'TEE Verified' badge in the agent panel and proof modal when attestation is present.
  • TEE metadata (provider, model, chat ID, verification status) is persisted in the stored proof record for audit trails.

How proof enters 0G Storage

  1. 1

    Serialize decision payload

    The app creates a temporary JSON file that includes optimization values, timestamp, TEE metadata (if available), and `appId: yieldboost-ai`.

  2. 2

    Upload through the 0G SDK

    The storage route wraps that file with `ZgFile`, then calls the indexer upload flow using the configured RPC and signer.

  3. 3

    Capture the returned metadata

    The route stores the returned root hash, tx hash, block info when obtainable, wallet address, explorer URL, TEE attestation fields, and optional note flags.

  4. 4

    Persist locally or in KV

    The proof record is inserted into the runtime store so History, the proof modal, and the latest agent state can all read the same record.

Compute and narrative fallback behavior

The optimization engine prioritizes 0G Compute (TEE) when the active network is configured, then falls back to deterministic local narrative when that path is unavailable.

This keeps the app functional even when compute infrastructure is unavailable, while still prioritizing TEE-verified inference when possible.

Provider
Priority
When active
What it provides
0G Compute (TEE)
1 (highest)
Active network compute provider + ledger signer set
TEE-verified inference with hardware attestation
Deterministic
2
Always available
Built-in narrative templates

Network matrix

Network
Wallet switch support
Storage config
ProofRegistry
TEE Compute
Explorer
0G Testnet
Configured
Ready
Configured
Network-aware envs supported
https://chainscan-galileo.0g.ai
0G Mainnet
Configured
Ready
Configured
Network-aware envs supported
https://chainscan.0g.ai