ASaaS · 04 / 10

The Protocol (sRail)

sRail is the atomic settlement protocol at the core of ASaaS — built on the Swap-Minting protocol, implemented as CosmWasm contracts on sovereign chains.

01Standard

sRail Protocol Specification

The formal specification of messages, states, and guarantees for atomic sovereign settlement.

02

Swap-Minting Protocol

The core sRail mechanism: every settlement is a swap-mint — one extinguishment and one mint bound into a single atomic pair that commits together or reverts together.

03

Atomic Settlement Engine

The engine that executes the swap-mint, binding extinguish and mint into one commit or one revert.

04

Settlement Finality

Finality marked on-chain by the settlement finality contract, verifiable by both sovereigns.

05

Exchange Rate Mechanism

An exchange-rate oracle supplying market or agreed rates with full history.

06

Compliance & AML

Pre-lock compliance checks against both jurisdictions' AML and KYC requirements.

07

Sanctions Screening

Real-time screening against the sanctions lists agreed in the bilateral framework.

08

Dispute Resolution

A defined process — evidence from the immutable log, bilateral review, and arbitration.

09

Exit Mechanism

Either sovereign can exit the corridor with notice, with all positions settled and records retained.

svt · example
srail.initiate_settlement("NGN", "CNY", 25_000_000, receiver)
  → authenticate(payer, receiver, sig)
  → check_compliance(payer, receiver, amount)
  → determine_rate("NGN", "CNY")
  → lock() → extinguish() → mint() → finalize() → reconcile()
Partner · Assess · Build

Take the next step toward sovereign value.