FinSim

Learn distributed financial systems by breaking them safely.

FinSim provides educators and researchers with a self-contained, synthetic interbank environment for studying idempotency, consensus-free forward recovery, fault injection, and deterministic trace replay.

Classroom lab exercises

Students can implement a participant bank in Java, Python, Node.js, or Go, pass the 8-phase finsim verify --url conformance suite, and inspect how their implementation survives injected timeouts and duplicate deliveries.

Read the full instructor and student walkthrough in docs/academic-lab-guide.md.

Reproducibility and citation

Experiments use seeded PRNG fault rules and declarative finsim/scenario/v1 fixtures so traces can be re-executed with --verify-replay. Cite FinSim using CITATION.cff:

@software{lal_finsim_2026,
  author       = {Lal, Mohan},
  title        = {FinSim: An Open-Source Simulator for Financial Networks and Distributed Systems Resilience},
  version      = {0.1.0-pre-alpha},
  year         = {2026},
  month        = nov,
  license      = {Apache-2.0},
  url          = {https://github.com/mhnuk2007/finsim}
}