ChadOnChain Docs

This demo app is the UI companion to our real arbitrage engine. We built it during the hackathon because external APIs and stable parsing signals were limited, and we still needed to validate end-to-end arbitrage behavior fast.

How the real engine works

  1. Ingest from multiple market sources: Python adapters fetch raw payloads from different APIs with inconsistent shapes.
  2. Parse and normalize with LLM assistance: local Ollama parsing maps noisy text, rules, and metadata into one canonical schema.
  3. Persist canonical snapshots: normalized data is written into JSON snapshots that the matcher can load deterministically.
  4. Run low-latency C++ matching: the engine scans for cross-platform overlaps, computes spreads, and scores opportunities in memory.
  5. Emit executable opportunities: results are exported to arbs.jsonfor dry run evaluation or controlled execution.
  6. Optional on-chain execution: execution tooling can route opportunities through contracts when explicit live mode is enabled.

What this demo validates

Why we use only this smart contract set

Engine and repo references