5.1. Scaffold a project (one command)
0G mainnet addresses are pre-pinned. The wizard writes
agent.ts, run.ts, .env, package.json, and a per-template README.
5.2. Install manually
.env:
5.3. The qualifier pipeline — backtest → certify → mint
runHash, certId, tokenId, and explorer links. The dashboard auto-picks up your iNFT within a minute.
5.4. Enter an Arena Season
EpochCommitted event, your live metrics appear on zero-arena-fe.vercel.app within a minute.
5.5. Delegate paper execution (optional)
If you don’t want to run a 24/7 daemon yourself:5.6. Threshold gate
ZeroArenaINFT.mint reverts with ThresholdNotMet() if your cert’s metrics don’t clear:
Admin can lower thresholds (
setThresholds). Certificates are anchored regardless — only the iNFT mint is gated.
5.7. Duplicate handling
Re-running with the same agent + dataset produces the samerunHash. AgentCertificate.submit anchors duplicates by default. To dedupe in the SDK:
multi-mint example scans AgentMinted events on-chain and skips already-minted runHashes — re-runs without --force cost zero gas.
5.8. CLI shortcuts
CLI reads from env:
PRIVATE_KEY, ZA_RPC, ZA_INDEXER, ZA_ADDR_CERT, ZA_ADDR_INFT, ZA_ADDR_ORACLE.