Recruiter Snapshot

SwiftStory

2012, rebuilt 2026

Testing a SWIFT gateway against the specification, not the vendor's documentation.

Product screens

01 / 05
SwiftStory
Transaction generator: an account's history with running balances, the selected statement checked. Sample workspace.

Overview

I built Swiftly in 2012, a generator of realistic SWIFT statement flows that exposed where Bottomline's gateway handling differed from the specification. In 2026 I rebuilt it in Rust as SwiftStory, a free macOS app that also checks every message against the current SWIFT standard.

Problem statement

A SWIFT gateway at a tier-1 bank needed a steady stream of believable messages whose balances add up across days. Real messages were sensitive and impossible to replay on demand, and the vendor's documentation could not be taken as the source of truth. Cash reporting still runs on these MT900 to MT950 messages after payments moved to ISO 20022 in 2025, so the need outlived the 2012 tool.

Solution

I wanted the test data a bank would actually send: statements that open where the last one closed, confirmations that reconcile with them, and every message checked against the standard rather than against what one vendor's system accepts.

Templates for every legal shape.

In 2012 I created sixty-eight sample messages covering short and long BICs, different sending-party schemes, multi-line narratives, forward balances and statements split across messages. The rebuild ships them as a message library, corrected to the current standard.

A financial model underneath.

Account histories keep closing, available and latest balances consistent from day to day, so statements reconcile with the confirmations before them. The rebuild chains every statement to the one before, books nothing for interim MT942 reports and derives statement numbers from the history.

Fields linked to data.

Every field is typed or linked to an expression: a regular expression, a CSV column, a number or date sequence. One message becomes hundreds of variations, and values are seeded per account, so a statement generated tomorrow still quotes the references of today's confirmations.

Rebuilt on a Rust engine.

I ported the Java to a Rust engine with a Tauri and Svelte desktop app and a command line on top, keeping the original screens: data designer, history and template designers, transaction generator and message editor. Old CSV exports and XML templates still load.

Audited against SR 2025.

Checking the 2012 code against SWIFT Standards SR 2025 found fourteen defects, from a field 52D that lost its address lines to MT942 fields out of order and an MT910 network rule never enforced. The sixty-eight samples needed 131 corrections, starting with UK, which is not an ISO country code.

A validator from the specification.

Every message is checked as it is written: field formats, structure and order, ISO currencies and their decimals, the network rules of MT910, MT940, MT942 and MT950, and the balance and total checks a receiver would make.

Specification matrix

Which tags does each message type allow under SWIFT Standards SR 2025?

Outcome

I built the tests from the SWIFT message specification rather than from the vendor's documentation. In 2012 that exposed places where the gateway's handling of the protocol differed from the specification, most visibly in optional and custom fields. In 2026 I rebuilt Swiftly as SwiftStory and released version 0.1.0 as freeware for Macs with Apple silicon, with its own product site.

Visit swift-story.zorbion.com

Technologies used

RustTauriSvelteKitSvelteTypeScriptSWIFT MTSWIFT SR 2025JavaSwingSpecification testing

Data volumes & scale

  • 68 sample messages, 131 corrections
  • 5 message types, SWIFT SR 2025
  • 14 defects found and fixed in the audit
  • 42 engine tests
  • ~5,900 lines of Rust (from ~22,000 of Java)
  • ~5,500 lines of TypeScript and Svelte