← Back to project page

Architecture

Customer Liability Coverage Reconciliation is a compact portfolio demonstration of a daily treasury control: compare synthetic customer liabilities to public on-chain reserve balances, then produce exception-ready reports.

Data Flow

flowchart LR
    ledger["data/customer_ledger.csv
synthetic liabilities"] --> aggregate["DuckDB liability summary"] prices["data/price_snapshots.csv
static USD prices"] --> reconcile["reconcile.py"] wallets["config/wallets.yaml
public demo wallets"] --> chain["chain.py
mempool.space + Etherscan"] chain --> reconcile aggregate --> reconcile reconcile --> html["output/recon_DATE.html"] reconcile --> xlsx["output/recon_DATE.xlsx"]

Components

Control Framing

This is not a real exchange audit. The customer ledger is synthetic, the wallets are public demo addresses, and the prices are static. The goal is to mirror the shape of a regulated treasury workflow: source data, reconcile, flag exceptions, preserve evidence, and make the output reviewable by operations and finance stakeholders.