Kapish Bansal Résumé
← All work

02 / 06Graph ML · Smart contracts

Financial forensics: graph ML finds circular trading, then proves it on-chain.

Role
ML + full stack + contracts
Year
2026
Status
Live demo
4detector families
3fraud patterns named
2contracts: ResultAnchor, AgentRegistry

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.

PoEC landing page explaining the pipeline: Monad RPC, GNN analysis, zkVM proof, Merkle tree, on-chain anchor.
PoEC landing page explaining the pipeline: Monad RPC, GNN analysis, zkVM proof, Merkle tree, on-chain anchor.

How it flows

  1. 01CSV / ledger
  2. 02Graph build (NetworkX)
  3. 03Rules + GNN
  4. 04Proof bundle
  5. 05ResultAnchor on-chain

What I built

01

Hybrid engine

Deterministic detectors (circular trading, dense collusion rings, wash trading), a GNN for structural anomalies, learned behavioural outliers, and a low-confidence watchlist.

02

Agent runtime

An x402 TypeScript agent handles ingestion, analysis, proof bundling and anchoring.

03

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.

04

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.

Next project

Hallmark A protocol that checks whether an AI model's output really came from the pinned model.

← HydraWatch All work