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

Optimization Flow

How 1-Click Works

The full meaning of the dashboard CTA `Boost My Yield Now` and what the product does after that click.

CTA

Boost My Yield Now

Intent

Fastest low-friction optimization run

Output

Recommendation + proof receipt

What `Boost My Yield Now` means

This button is the dashboard shortcut for the default optimization request: optimize the current portfolio for better yield with low risk.

It intentionally hides most of the prompt complexity so the user can see the full system loop without visiting the more detailed Boost page.

The 1-click pipeline

  1. 1

    Read the current wallet snapshot

    The app builds a portfolio map from the active wallet state. If a valid wallet is present, the provider and portfolio context refresh from the portfolio API.

  2. 2

    Generate the optimization snapshot

    The optimization engine currently runs in deterministic local snapshot without external compute. It returns projected APY, gain estimate, recommendation, and supporting reasoning text.

  3. 3

    Stream the recommendation

    The UI then streams narrative text using deterministic in-app narrative fallback when available, or falls back to the in-app deterministic narrative.

  4. 4

    Store the proof package

    After the narrative stream, the client posts the decision payload to `/api/0g/store`, which tries to upload the JSON proof package and capture the storage transaction metadata.

  5. 5

    Surface proof everywhere

    The latest result card, proof modal, and History page all read the stored record so the same run can be inspected in multiple places.

What changes on screen after the click

  • The dashboard CTA switches into an optimizing state.
  • The right-side agent surfaces update with live progress and recommendation text.
  • The latest proof row starts showing the tx hash, storage identifier, and optional ProofRegistry details once available.
  • History becomes the persistent review surface for later verification or demo replay.

Default optimization intent

text
Optimize my portfolio for best yield with low risk

Live vs fallback boundaries

Stage
Live behavior
Fallback behavior
What to say out loud
Wallet snapshot
Reads active wallet + network
Empty state or RPC error
Wallet is required for a meaningful live run
Optimization scoring
Deterministic local snapshot without external compute
Deterministic snapshot
Scoring stays demo-safe if external compute is missing
Narrative stream
Deterministic in-app narrative fallback
Built-in narrative copy
The wording can fall back even when the UI flow still works
Proof storage
0G Storage upload path is configured for at least one network
Honest storage configuration error
Do not imply a stored proof if upload envs are missing