FinSim

Run a fault-injected interbank transfer in under five minutes.

Start directly in the browser with the Simulation Cockpit's zero-backend Demo Mode, or boot the full PostgreSQL 17 + FinSim API + Java sample bank stack with Docker Compose. For full prerequisites, see docs/quickstart.md.

1. Explore Cockpit Demo Mode (zero backend required)

Launch the hosted Cockpit at https://finsim.mhnuk2007.tech/cockpit or run web/ locally:

git clone https://github.com/mhnuk2007/finsim.git
cd finsim/web
npm install
npm run dev

2. Boot the local Docker Compose environment

Starts PostgreSQL 17 (5433), FinSim Platform API (8080), and Java sample banks bank-a (9001) and bank-b (9002):

docker compose up -d

3. Verify service health

curl http://localhost:8080/actuator/health
curl http://localhost:9001/finsim/v1/institution/health
curl http://localhost:9002/finsim/v1/institution/health

4. Execute a transfer, inject a fault, and reconcile

Use the FinSim CLI to run a transfer, add a fault rule, inspect the execution trace, and resolve an UNKNOWN outcome:

finsim transfer --help
finsim fault add --help
finsim trace --help
finsim resolve --help

5. Replay a declarative scenario and verify participant conformance

finsim scenario run docs/scenarios/lost-credit-timeout-and-recovery.yaml --verify-replay
finsim verify --url http://localhost:9001

Ready to build your own participant bank in Java, Python, Node.js, or Go? Continue to finsim/v1 Contract.