The problem
Fraud rings hide in the structure of a transaction graph, and audit results are easy to dispute after the fact.
What it is
Proof of Economic Consensus combines deterministic rule-based auditing with Graph Neural Networks to flag circular trading, smurfing and wash trading across fragmented ledgers, then anchors the findings on-chain so they can't be quietly changed.
How it flows
- 01CSV / ledger
- 02Graph build (NetworkX)
- 03Rules + GNN
- 04Proof bundle
- 05ResultAnchor on-chain
What I built
Hybrid engine
Deterministic detectors (circular trading, dense collusion rings, wash trading), a GNN for structural anomalies, learned behavioural outliers, and a low-confidence watchlist.
Agent runtime
An x402 TypeScript agent handles ingestion, analysis, proof bundling and anchoring.
Immutable evidence
Result snapshots are hashed and anchored to a ResultAnchor contract on Sepolia / Monad, with a verify endpoint that checks a result hash against the chain.
Console
Next.js dashboard with interactive Cytoscape graphs, so an auditor can see the ring, not just a score.
Stack
- PyTorch Geometric
- NetworkX
- FastAPI
- Next.js
- Cytoscape.js
- Solidity
- Hardhat
- x402
Limits
Contracts run on testnets (Sepolia / Monad). The zero-knowledge part is described as 'ZK-ready', not shipped.