0G APAC Hackathon
Sapphire × 0G
Verifiable Autonomous Trading
submitted
Track 2 · Agentic Trading Arena (Verifiable Finance)
Trading agents must prove their predictions before market impact.
Every Sapphire trading signal is sealed by a TEE-attested 0G Compute inference, content-addressed on 0G Storage, and anchored on 0G Chain mainnet (16661) before market impact. Anyone can re-derive the audit trail with one CLI tool — `og_verify`.
56 unit tests · 6,567 collected repo-wide · merged
Sapphire × 0G
Each contract below is checked live by hitting its public RPC with
eth_getCode. Click Run probe to confirm
deployed bytecode is present right now. No wallet, no keys — just a
read against the public RPC.
deployment address pending — see PR for current state
Trading agents must prove their predictions before market impact.
Every Sapphire trading signal is sealed by a TEE-attested 0G Compute inference, content-addressed on 0G Storage, and anchored on 0G Chain mainnet (16661) before market impact. Anyone can re-derive the audit trail with one CLI tool — `og_verify`.
- TEE-sealed inference via 0G Compute (`broker.inference.processResponse`)
- Content-addressed signal envelope on 0G Storage (merkle rootHash)
- On-chain anchor via `SapphireSignalVerifier.publishSignal(...)` on chainId 16661
- Fire-and-forget hook into the trading critical path — opt-in via `SAPPHIRE_OG_ENABLED=1`
- Sponsor0G APAC Hackathon
- TrackTrack 2 · Agentic Trading Arena (Verifiable Finance)
- Deadline2026-05-16 23:59 UTC+8
- Prize$150K pool · 1st $45K · 2nd $35K · 3rd $20K
- Statussubmitted
Three 0G primitives wired in one round-trip — Compute (TEE inference) → Storage (merkle rootHash) → Chain (mainnet 16661 anchor). The asset isn't the contract; it's the round-trip verifier that any holder of a 0G RPC + our public address can re-derive in one CLI call.
lib/og/{config,storage,chain,compute,envelope,hooks}.pyplugins/claw-sapphire/tools/og_publish.pyplugins/claw-sapphire/tools/og_verify.pycontracts/SapphireSignalVerifier.solscripts/deploy_og_chain.pydocs/hackathon-0g/
Verbatim wording from the sponsor's official announcement, paired with our specific implementation. Every cell is link-checkable.
Video recording: pending. Script ready at
docs/hackathon/0g/video-script.md
.
60-second cut targeted, with timing markers at 0:00 / 0:05 / 0:15 / 0:35 / 0:50 / 0:55.
- 5-slide deckdocs/hackathon/0g/deck.md →
- 60s video scriptdocs/hackathon/0g/video-script.md →
- 3-min demo scripthttps://github.com/arigatoexpress/Sapphire/blob/main/docs/hackathon-0g/demo-script-v2.md →
- Apollo Accelerator application (post-mainnet activity proof)
- Sentinel × 0G — chain-health gate gets a 0G dimension
- Publish `og_verify` as a standalone primitive
- Hardware-wallet flow for OG_PRIVATE_KEY (Ledger-signed)
- Guild on 0G — Sapphire as a verifiable-trading Guild operator
The integration is the asset. The hackathon is the distribution event.
MegaETH / Arbitrum
Sapphire Sentinel · Multi-Chain Health Gate
Aave V3 + GMX V2 + Chainlink fallback
live
awesome-megaeth-ai listing · Mafia 2.0 · London AI Agentic ($15K)
Approve the trade only if the chain agrees.
Before any alpha-paid signal is approved, Sentinel reads Aave V3 reserve health and GMX V2 funding / open-interest skew on Arbitrum One — escalating to BLOCK on `|funding| > 500%` or WARNING on lopsided OI. Chainlink fallback prices the BTC / SOL / AVAX / DOGE markets that Aave does not.
134 unit + 2 live integration tests · merged
Sapphire Sentinel · Multi-Chain Health Gate
Each contract below is checked live by hitting its public RPC with
eth_getCode. Click Run probe to confirm
deployed bytecode is present right now. No wallet, no keys — just a
read against the public RPC.
Approve the trade only if the chain agrees.
Before any alpha-paid signal is approved, Sentinel reads Aave V3 reserve health and GMX V2 funding / open-interest skew on Arbitrum One — escalating to BLOCK on `|funding| > 500%` or WARNING on lopsided OI. Chainlink fallback prices the BTC / SOL / AVAX / DOGE markets that Aave does not.
- 60 GMX V2 markets indexed; 11 priced live (4 via Aave + 7 via Chainlink)
- GMX `Price.Props` 1e30-scale encoder/decoder (footgun: NOT 1e8)
- Sentinel chain-health gate: `severity = max(lend, perps)` with soft-fail on RPC error
- All 6 Arbitrum One Chainlink feeds verified live via `eth_getCode`
- SponsorMegaETH / Arbitrum
- Trackawesome-megaeth-ai listing · Mafia 2.0 · London AI Agentic ($15K)
- DeadlineRolling — Mafia 2.0 + awesome-megaeth-ai PR · London Buildathon 2026-05-25
- PrizeMafia 2.0 syndicate check + reputational + London $15K AI Agentic
- Statuslive
Three chains, two protocol categories, one primitive. The chain-health gate composes — `evaluate_chain_health()` returns the worst-of severity across all chains the alpha references. The 1e30-scale GMX price footgun has a unit test that fails if anyone tries to revert it.
lib/chains/arbitrum/contracts/{aave_v3,gmx_v2,chainlink_oracle,gmx_price_adapter}.pylib/chains/megaeth/lib/hackathon/{sentinel,arbitrum_chain_health,chain_health_gate}.pyconfig/arbitrum_protocols.yaml
Verbatim wording from the sponsor's official announcement, paired with our specific implementation. Every cell is link-checkable.
Video recording: pending. Script ready at
docs/hackathon/megaeth/video-script.md
.
60-second cut targeted, with timing markers at 0:00 / 0:05 / 0:15 / 0:35 / 0:50 / 0:55.
- 5-slide deckdocs/hackathon/megaeth/deck.md →
- 60s video scriptdocs/hackathon/megaeth/video-script.md →
- Live perps_overview() snapshothttps://github.com/arigatoexpress/Sapphire/pull/570 →
- awesome-megaeth-ai PR opened (DeFi + Agents + Developer Tools)
- Mafia 2.0 application filed
- Add a 4th chain — Base (8453) — same primitive port pattern
- Publish `pip install sapphire-sentinel` for non-Sapphire integrators
- ML-driven anomaly layer on top of rule-based gate
The integration is the asset. The hackathon is the distribution event.
Arbitrum / Robinhood London Buildathon
Sapphire Sentinel · Robinhood London
Policy + privacy + payment gate for autonomous agents
submitted
AI Agentic Category ($15K) + Robinhood Chain Innovation Award ($30K)
Agent safety on the chain Robinhood operates.
An AI agent tries to pay for private RWA intelligence on Robinhood Chain testnet (46630). Sentinel screens the request against a human mandate (spend cap, allowed domains, prompt-injection screen, secret-egress screen) and anchors the decision — even rejected attacks — on `SapphireSentinelRegistry`.
9 smoke-script tests passing · dry-run + live paths verified
Sapphire Sentinel · Robinhood London
Each contract below is checked live by hitting its public RPC with
eth_getCode. Click Run probe to confirm
deployed bytecode is present right now. No wallet, no keys — just a
read against the public RPC.
deployment address pending — see PR for current state
deployment address pending — see PR for current state
Agent safety on the chain Robinhood operates.
An AI agent tries to pay for private RWA intelligence on Robinhood Chain testnet (46630). Sentinel screens the request against a human mandate (spend cap, allowed domains, prompt-injection screen, secret-egress screen) and anchors the decision — even rejected attacks — on `SapphireSentinelRegistry`.
- Robinhood Chain testnet (chainId 46630) — `recordPaymentEvaluation` lands a real tx for every decision
- Prompt-injection + secret-egress screens stack on screen with the BLOCKED stamp
- Zama / fhEVM mock surfaces deterministic `resultHash` + `riskHash` from hidden basket weights
- Multi-chain: Sentinel queries MegaETH protocol-access layer for USDM peg + Aave reserves before approval
- SponsorArbitrum / Robinhood London Buildathon
- TrackAI Agentic Category ($15K) + Robinhood Chain Innovation Award ($30K)
- DeadlineBuildathon starts 2026-05-25 · Founder House 2026-07-10 → 12
- Prize$70K Open · $15K AI Agentic · $30K Innovation · $30K Grants
- Statussubmitted
Most safety systems silently drop bad requests. We anchor the *rejected* attack on chain so a year-later auditor can prove the attack happened *and* was caught. Plus chain-health composition (USDM peg + Aave reserves) and a Zama fhEVM mock that returns deterministic resultHash + riskHash without leaking weights.
contracts/SapphireSentinelRegistry.solcontracts/SapphirePaymentGate.sollib/chains/robinhood_chain.pylib/hackathon/sentinel.pylib/hackathon/privacy_mock.pyscripts/hackathon_smoke.shscripts/deploy_robinhood_chain.pydocs/hackathon/sapphire-sentinel-london-2026.md
Verbatim wording from the sponsor's official announcement, paired with our specific implementation. Every cell is link-checkable.
Video recording: pending. Script ready at
docs/hackathon/robinhood/video-script.md
.
60-second cut targeted, with timing markers at 0:00 / 0:05 / 0:15 / 0:35 / 0:50 / 0:55.
- 5-slide deckdocs/hackathon/robinhood/deck.md →
- 60s video scriptdocs/hackathon/robinhood/video-script.md →
- 90-second demo scripthttps://github.com/arigatoexpress/Sapphire/blob/main/docs/hackathon/london-demo-script.md →
- Mainnet contracts on Robinhood Chain when chain 46630 mainnet launches
- Replace Zama mock with real fhEVM (cross-pollinates with Zama submission)
- Publish `pip install sapphire-sentinel` for Robinhood Chain integrators
- ML-driven anomaly layer on the gate
- Sentinel becomes default agent-safety primitive on Robinhood Chain mainnet
The integration is the asset. The hackathon is the distribution event.
Zama Bounty
write-fhevm-contracts
Anthropic-format skill for fhEVM
draft
AI Agent Skills · Mainnet Season 2 Bounty Track
A portable Anthropic-format skill that teaches LLMs to write fhEVM contracts correctly the first time.
A Claude / Cursor / Windsurf skill that teaches LLMs to write Zama fhEVM contracts correctly the first time. Covers the five silent-failure footguns (FHE.select, ACL, input proofs, async decryption, ZamaEthereumConfig inheritance) and ships a 10-point self-check the model runs before returning.
scaffold landed · Ari to dogfood + finalize before 2026-05-10
write-fhevm-contracts
This submission is a documentation skill, not a contract deploy. See the Demo & links tab for the SKILL.md source.
A portable Anthropic-format skill that teaches LLMs to write fhEVM contracts correctly the first time.
A Claude / Cursor / Windsurf skill that teaches LLMs to write Zama fhEVM contracts correctly the first time. Covers the five silent-failure footguns (FHE.select, ACL, input proofs, async decryption, ZamaEthereumConfig inheritance) and ships a 10-point self-check the model runs before returning.
- Anthropic skill format — terse YAML frontmatter for trigger discovery
- Sapphire ships 14 hermes skills + 109-tool plugin registry — we eat this format daily
- Demo rebuilds `SapphireSentinelBasket.sol` from scratch — illustrative LLM transcript catches all 5 footguns
- Bounty deadline 2026-05-10 23:59 AOE
- SponsorZama Bounty
- TrackAI Agent Skills · Mainnet Season 2 Bounty Track
- Deadline2026-05-10 23:59
- Prize1st 1,500 cUSDT · 2nd 1,000 · 3rd 500 (3,000 cUSDT total)
- Statusdraft
Five silent-failure footguns. Ten-point pre-write self-check the model runs against its own draft before returning. We've shipped 14 hermes skills + 17 plugin manifest entries — we eat this format daily.
docs/grants/zama-ai-agent-skills/SKILL.mddocs/grants/zama-ai-agent-skills/SUBMISSION.mddocs/grants/zama-ai-agent-skills/EXAMPLE_REBUILD.mdlib/hackathon/privacy_mock.py
Verbatim wording from the sponsor's official announcement, paired with our specific implementation. Every cell is link-checkable.
Video recording: pending. Script ready at
docs/hackathon/zama/video-script.md
.
60-second cut targeted, with timing markers at 0:00 / 0:05 / 0:15 / 0:35 / 0:50 / 0:55.
- 5-slide deckdocs/hackathon/zama/deck.md →
- 60s video scriptdocs/hackathon/zama/video-script.md →
- Read SKILL.mdhttps://github.com/arigatoexpress/Sapphire/blob/main/docs/grants/zama-ai-agent-skills/SKILL.md →
- Win → 1,500 cUSDT funds first real-fhEVM port of `lib/hackathon/privacy_mock.py`
- Publish to Anthropic skill marketplace + Cursor's skill registry
- Add a 6th footgun when one shows up (skill is versioned)
- Instrument the skill — telemetry on real-world catches
- Publish the meta-skill: how to write portable skills
The integration is the asset. The hackathon is the distribution event.