When the Monetary Authority of Singapore, Banque de France, and Swiss National Bank ran a joint FX settlement trial in 2022–2023, they weren't testing blockchain buzzwords. They were stress-testing a synchronization layer that could eliminate a foundational risk in foreign exchange: the gap between when you send currency A and when you receive currency B. That gap—settlement risk—has cost institutions billions and threatened systemic stability since cross-border payments began.
The Partior prototype demonstrated atomic settlement across traditional real-time gross settlement (RTGS) systems and tokenized wholesale central bank digital currency (wholesale CBDC) rails. Engineers synchronized messages and finality triggers across incompatible ledgers, creating what amounts to a Hashed Timelock Contract (HTLC) for institutional FX. This wasn't a greenfield experiment. It was a blueprint for upgrading existing infrastructure without replacement.
Atomic settlement mechanics across traditional and tokenized rails
Atomic settlement means either both legs of an FX trade settle, or neither does. No intermediate state where one party has paid and the other hasn't. Partior's architecture used a coordinating smart contract on a permissioned distributed ledger (Corda) to orchestrate settlement across three domains: Singapore's RTGS system, France's TARGET2 connection, and Switzerland's SIC payment system.
The flow: a commercial bank initiates an FX swap—say, EUR for SGD. The smart contract locks tokenized representations of both currencies in escrow on the distributed ledger. It sends conditional payment instructions to the respective RTGS systems. Each central bank's system processes the domestic leg and sends a cryptographic confirmation back to the ledger. Only when both confirmations arrive does the smart contract release the escrowed tokens and mark the trade as final.
Think of two people exchanging keys to different safe deposit boxes. The boxes only unlock if both keys turn simultaneously. The ledger enforces simultaneity.
If one RTGS system fails to confirm within the agreed time window, the contract reverses both escrows and the trade cancels cleanly. No one holds an obligation without its counterpart.
The prototype used hash-locked conditional transfers—a technique borrowed from Lightning Network and cross-chain atomic swaps. Each RTGS leg included a hash preimage that the ledger revealed only after validating both sides. This cryptographic linkage made the settlement truly atomic, not just "eventual" or "best-effort."
Settlement risk reduction through synchronization
The trial eliminated Herstatt risk—the possibility that one party in an FX trade pays out its currency but never receives the other. Named after a German bank that failed mid-trade in 1974, leaving counterparties with losses on one leg, Herstatt risk remains the central unsolved problem in cross-border FX.
Traditional correspondent banking handles this through batching and netting in systems like CLS (Continuous Linked Settlement). CLS achieves payment-versus-payment (PvP) by holding both currencies in nostro accounts and settling them simultaneously at a coordinated time window. It works, but it requires all participants to hold liquidity in CLS accounts for hours, tying up capital.
Partior's design proved you can achieve PvP settlement finality in seconds, not hours, by synchronizing RTGS confirmations through a shared ledger rather than pooling liquidity in a central operator.
The three-central-bank trial measured settlement times under 10 seconds for the entire atomic swap—multiple orders of magnitude faster than batch CLS windows. This speed came from real-time RTGS integration, not faster clearing cycles. Each central bank's system operated normally. The ledger coordinated their finality events.
The trial demonstrated that this synchronization doesn't require participants to abandon existing systems. French banks still settled EUR through TARGET2. Swiss banks still used SIC. The ledger sat between them, translating finality signals into atomic guarantees without requiring infrastructure replacement.
Legacy-to-DLT integration architecture
Building a synchronization layer between RTGS systems and a distributed ledger means solving an impedance mismatch problem. RTGS systems use message queues (ISO 20022), centralized databases, and batch processing windows. Distributed ledgers use event logs, consensus protocols, and immutable state transitions. They don't speak the same language or share the same finality model.
Partior's architecture introduced gateway nodes at each central bank. These nodes acted as translators. On the RTGS side, they listened for settlement confirmation messages (SWIFT MT messages or ISO 20022 pacs.002 confirmations). On the ledger side, they participated as validating nodes in the Corda network, signing transactions and maintaining shared state.
The gateways used an oracle pattern—they attested to events in one domain (RTGS settlement confirmed) by writing signed proofs into the other domain (ledger state updated). Similar to how Chainlink price feeds work: an off-chain event gets cryptographically witnessed on-chain. In Partior's case, the "off-chain" event is finality in a central bank's real-time system.
The key design choice: the ledger didn't try to be the RTGS system. It didn't hold reserves or process domestic payments. It only coordinated proof of settlement across systems. This kept regulatory boundaries intact. The Banque de France maintained full control over EUR settlement. The Swiss National Bank controlled CHF. The ledger only knew that both had settled—it never held custody of actual funds.
Integration also required handling timing mismatches. RTGS systems have maintenance windows, queuing delays, and operational hours. The smart contract included timeout logic: if one leg didn't confirm within a set window (say, 30 seconds), the contract automatically unwound any partial state and released locks. This prevented deadlocks where one party has paid but the ledger is stuck waiting for confirmation.
| Component | Traditional RTGS | Partior Ledger |
|---|---|---|
| Finality model | Centralized, message-based | Distributed consensus |
| Settlement speed | Seconds to minutes per leg | Atomic across legs in under 10 seconds |
| Liquidity requirement | Prefunded nostro accounts | Escrowed tokens, released atomically |
| Regulatory control | Full central bank authority | Observer role, no custody |
| Failure mode | Manual reconciliation, Herstatt risk | Automatic rollback, atomic guarantee |
Cross-border FX workflows in a hybrid system
A typical FX trade in the trial followed this sequence. Two banks agree on an exchange rate and notional amounts via existing channels (voice, electronic trading platform). They submit matched orders to the Partior ledger, which creates a trade record and allocates unique transaction IDs.
Each bank instructs its domestic central bank to move funds to a designated settlement account. For a EUR/SGD trade, the European bank sends a TARGET2 payment instruction; the Singaporean bank sends a FAST instruction. These are normal RTGS operations—nothing blockchain-specific happens at this layer.
The gateway nodes monitor these RTGS systems. When the EUR payment settles, the Banque de France gateway writes a signed attestation to the ledger: "Transaction XYZ settled at timestamp T1." When the SGD payment settles, the MAS gateway writes its own attestation. The smart contract collects both attestations, verifies signatures, and checks timestamps against the agreed settlement window.
If both attestations arrive and are valid, the contract executes the atomic swap logic. It updates balances in the tokenized layer (debiting the European bank's SGD escrow, crediting the Singaporean bank's SGD balance, and vice versa for EUR), emits a finality event, and releases any holds. Both banks now have cryptographic proof of settlement they can record in their internal systems.
If one leg fails—say, the SGD payment doesn't settle due to insufficient funds—the contract times out. It cancels the trade, unwinds the escrow, and emits a failure event. The EUR payment, already settled in TARGET2, doesn't reverse (RTGS systems don't do rollbacks). But the smart contract knows it settled without a counterpart, so it marks the trade as failed and the banks reconcile manually. The intent was atomic, even if enforcement required fallback procedures.
This design pattern—escrow, conditional execution, attestation-based finality—mirrors how cross-chain bridges work in DeFi, but adapted for institutional requirements. There's no anonymous validator set or slashing. The validators are central banks and authorized commercial banks, operating under legal agreements and regulatory oversight.
Wholesale CBDC infrastructure and future payment rails
The Partior trial demonstrates that wholesale CBDC doesn't have to mean abandoning existing payment systems. It can function as a coordination layer—a shared source of truth that orchestrates settlement across national systems without requiring those systems to interoperate directly.
This matters because international payment rails are politically and technically fragmented. Each country runs its own RTGS system with its own rules, operating hours, and message formats. Forcing convergence to a single standard has failed for decades (SWIFT standardized messaging but not settlement finality). Wholesale CBDC offers a different approach: leave domestic systems alone, but add a synchronization layer on top.
Central banks are exploring two architectures for this. The single-ledger model puts all participating central banks on one shared distributed ledger technology (DLT), issuing tokenized claims against their reserves. Partior used a version of this—commercial banks traded tokens representing central bank liabilities. The multi-ledger model keeps each central bank on its own ledger and uses interoperability protocols (like Corda's notary model or cross-chain messaging) to coordinate settlement.
The trial's design leaned toward single-ledger for simplicity, but the gateway architecture showed how multi-ledger could work. Each central bank's gateway was independent. They didn't need to trust each other's infrastructure—they only needed to trust cryptographic signatures. If the Swiss National Bank wanted to run its own ledger and only share finality proofs, the architecture could accommodate that.
Wholesale CBDC infrastructure will likely be modular—not a monolithic replacement for SWIFT or CLS, but a set of pluggable components that central banks and commercial banks compose based on local requirements. Some corridors might use full tokenization. Others might use the ledger only for finality coordination, keeping settlement in traditional systems. The trial validated that both approaches are technically feasible.
Another insight: wholesale CBDC doesn't eliminate the need for liquidity. Banks still needed to prefund settlement accounts in each RTGS system to execute the domestic legs. The atomic settlement guarantee reduced risk, but it didn't reduce capital requirements. Future designs might layer netting or liquidity-saving mechanisms on top—something like real-time CLS combined with atomic finality.
What this means for builders
If you're working on payment infrastructure, the Partior architecture shows you can build interoperability without requiring all parties to migrate to new systems. The oracle pattern—using trusted nodes to attest to off-chain events and write them into a shared ledger—lets you bridge incompatible finality models. This applies beyond FX: any multi-party workflow where atomic state updates matter (trade finance, securities settlement, syndicated lending) can use the same design.
The timeout and rollback logic is critical. Distributed systems fail in messy ways. One party's system goes down, a network partition occurs, or a bank simply doesn't have funds to settle. Smart contracts need explicit handling for every failure mode, with clear fallback procedures. Atomicity is a guarantee, but it doesn't eliminate the need for reconciliation processes when things break.
If integrating with central bank systems, expect gateway architectures. Central banks won't expose their core RTGS databases to external ledgers. Interaction happens through message-based interfaces (ISO 20022, API layers) that emit finality events you can consume. Design ledger logic to be event-driven—listen for attestations, don't poll for state.
Don't underestimate the regulatory and legal layer. The Partior trial worked because three central banks signed agreements defining what "finality" meant in each jurisdiction and how disputes would be resolved. The code enforced atomicity, but the legal framework defined what to do when atomicity broke. Builders need both.
Conclusion
The three-central-bank FX trial wasn't about replacing international payments with blockchain. It was about proving you can synchronize finality across incompatible systems to eliminate settlement risk without forcing infrastructure convergence. The architecture they built—gateways, attestations, conditional smart contracts, and atomic guarantees—offers a blueprint for how wholesale CBDC can coexist with traditional RTGS systems rather than displace them.
This matters because the global payment system won't be rebuilt from scratch. It will be upgraded incrementally, system by system, corridor by corridor. Designs that respect existing boundaries while adding new capabilities—like atomic cross-border settlement—are the ones that will actually get deployed. Partior showed that such designs are not only possible but operationally viable at central bank scale.
