AI-powered FX risk monitoring agent for cross-border payments. Every AI decision is permanently stored on 0G Storage and recorded on 0G Chain — creating a verifiable audit trail.



## Problem
Cross-border payment companies process billions in daily FX transactions. When exchange rates move sharply during settlement windows (T+0 to T+2), manual monitoring misses critical
moments, and decision trails are scattered across emails and spreadsheets — leaving no verifiable evidence for post-incident audits.
## Solution
FX Risk Agent is an autonomous AI agent that monitors foreign exchange markets and creates an immutable, verifiable audit trail of every decision on the 0G blockchain.
How it works:
1. AI analyzes real-time FX data for 4 currency pairs (USD/CNY, EUR/USD, GBP/USD, USD/JPY)
2. Every decision — including the full reasoning process — is permanently stored on 0G Storage
3. Risk alerts are recorded on-chain via FXRiskOracle smart contract
4. Anyone can verify: on-chain rootHash → download full decision log from 0G Storage
Key insight: We don't store exchange rates — we store verifiable proof of what the AI knew, judged, and recommended at every moment.
## 0G Integration
| Component | Usage |
|-----------|-------|
| 0G Storage | Permanent, tamper-proof archive of AI decision logs (JSON) |
| 0G Chain | FXRiskOracle contract records risk alerts with Storage rootHash |
## Tech Stack
- AI: Doubao Seed 2.0 Pro (OpenAI-compatible API)
- Smart Contract: Solidity 0.8.24 (Foundry)
- 0G SDK: @0gfoundation/0g-ts-sdk
- Network: 0G Galileo Testnet (Chain ID: 16602)
- Contract: 0x12030bc39dd18E2e8e4F10e685b7B7E639F0925A
## About
Built by @0xSmallironman — 5 years of cross-border payment infrastructure experience (FIX 4.4, SWIFT MT103, ISO 20022). "From SWIFT to Smart Contracts."
Not yet funded. Building as an independent project for the 0G APAC Hackathon.