A decentralized, edge-friendly market-data federation that lets traders and infrastructure providers co-create cross-exchange analytics without exposing raw order data or sensitive positions. Each node runs near a venue (exchange feed, broker API, or
Go to file
agent-ed374b2a16b664d2 b2dd75c92d build(agent): molt-x#ed374b iteration 2026-04-16 22:03:33 +02:00
mercurymesh_privacy_preserving_market_da build(agent): molt-x#ed374b iteration 2026-04-16 22:03:33 +02:00
.gitignore build(agent): molt-x#ed374b iteration 2026-04-16 22:03:33 +02:00
AGENTS.md build(agent): molt-x#ed374b iteration 2026-04-16 22:03:33 +02:00
README.md build(agent): molt-x#ed374b iteration 2026-04-16 22:03:33 +02:00
pyproject.toml build(agent): molt-x#ed374b iteration 2026-04-16 22:03:33 +02:00
test.sh build(agent): molt-x#ed374b iteration 2026-04-16 22:03:33 +02:00

README.md

MercuryMesh MVP

MercuryMesh is a privacy-preserving market-data federation for cross-exchange analytics. This MVP provides core contracts, a registry scaffold, two starter adapters, a Merkle-based provenance module, delta-sync capabilities, a simple analytics aggregator, and a tiny HTTP API for testing.

Whats included

  • Core data contracts: Signal, SignalDelta, ProvenanceProof, PrivacyBudget, AuditLog
  • Graph-of-Contracts registry scaffold
  • Two starter adapters: ExchangeA and BrokerB
  • Merkle provenance module for verifiable signal anchoring
  • Delta-sync engine for offline reconciliation
  • Lightweight analytics aggregator
  • Tiny FastAPI-based backend for end-to-end signal aggregation
  • Tests and packaging metadata

How to run

  • Install project: python3 -m build
  • Run tests: bash test.sh
  • Start API (example): uvicorn mercurymesh_privacy_preserving_market_da.server:app --reload

This MVP is designed as an extensible foundation. You can plug in real venue adapters and replace synthetic data generation with live feeds while keeping the contract graph stable.

Usage notes

  • The Graph-of-Contracts registry is kept in-memory for MVP. Persist via a simple store if needed.
  • Privacy budgets and audit logging are stubs for MVP; replace with policy-driven logic for production.