Architecture 3.0: clearing in your software, settlement executed by banks
Release 3.0, dated 26 October 2026, defines the target architecture for Clean Code refactoring and the POC: a standard Solidity EVM Core on Sei for clearing, a Bank Escrow Gateway written in Go for bank connectivity, and funds held in individual bank escrow accounts.
A Core on Sei that holds no funds
The Core validates obligations and records positions, cycles and proof hashes. It cannot debit an IBAN and does not hold, issue or transfer clearing tokens or stablecoins. Ethereum Controllers have been removed from Release 3.0.
Individual bank escrow accounts
Each active Osnias-ID maps to an escrow account with a distinct IBAN, assigned to one company, currency and cycle profile. Funds are not pooled across companies. The Osnias-ID/IBAN mapping remains protected off-chain.
Bank attestations of blocked funds
Clearing capacity relies on an authentic, up-to-date bank attestation of funds actually blocked, linked to the correct Osnias-ID and cycle. A credit balance alone is insufficient; the Escrow Service verifies the evidence on a read-only basis.
At cycle close, positions are frozen and checked. The Bank Escrow Gateway’s Settlement Service transmits only authorized net instructions; banks execute the debits and credits under mandate. ISO 20022 messages, including pain.001/pain.002 and camt.053/camt.054, support initiation, status reporting and reconciliation under the bank agreements. REST/HTTPS and, where supported by the bank, EBICS provide transport. Closure requires bank evidence and reconciliation: an acknowledgement alone does not prove final settlement.
Unaudited target architecture, subject to banking, contractual and regulatory validation. Clearing does not automatically discharge claims: that effect depends on the rulebook and applicable agreements.
View Architecture Release 3.0Four phases with distinct objectives and funding
Design and feasibility
- Books I–VII
- Historical testnet drafts
- Initial demonstrations
- Regulatory pre-assessment
Clean Code and POC
- Reference Node Stack and Go Gateway prototype
- Shared Solidity Core on Sei
- Prototype ERP APIs
- Shared POC with 3–4 partners
- Development and functional tests
Funding and assurance
- Grant applications
- Jurisdictional qualification
- Industrialization and bank integration
- Advanced stress tests
- Independent audit and remediation
Operation
- Stable ERP APIs
- Qualified nodes
- B2B commercialization
- Osnias Core maintenance
Founder, market and regulatory framework
Project founder
Osnias Clearing was conceived, designed, organised and documented by its founder, Denis Bouzon, with 100 % self-funding to date. The project has now reached the stage where it needs support to complement the founder’s skills for the next steps: clean code rework, security, the multi-node demonstrator and audit.
Market: a solution that does not yet exist
Osnias offers companies a netting solution that does not exist today. Multilateral netting is a mechanism proven for decades, but reserved for interbank and market infrastructures: as an order of magnitude, CLS and Clearstream together process around EUR 4,300 billion of notional volume per day, i.e. more than EUR 1 million billion per year. Recurring commercial obligations between companies have no equivalent. The aim is therefore not to take a share of an existing market, but to open this mechanism to inter-company flows.
Regulatory framework and risks
The main risk is regulatory: qualification of the infrastructure and of the services provided. Pre-assessment is under discussion with the AMF; the files submitted to the CSSF (Luxembourg) and the AFA (Andorra) are awaiting discussion. The sector is waiting for this pre-assessment before any commitment: until then, exchanges with potential node operators remain exploratory.
The following design principles limit risk by construction (details: osnias-clearing.com/faq/):
| Principle | Scope |
|---|---|
| Non-custodial | The Core holds no funds and cannot debit an IBAN. Banks hold funds in individual escrow accounts; the Go Bank Escrow Gateway transmits authorized net instructions under mandate. |
| No credit, overdraft or leverage | Execution invariant: instantaneous net exposure ≤ available collateral; any obligation exceeding it is rejected by the code. |
| Individualised collateral | No common guarantee fund: risk stays with each participant. |
| No central novation | Osnias is not designed as a CCP; distributed multilateral netting, final qualification to be determined with the authorities. |
| Node responsibilities | Admission, blocking and exit of participants are decided by the node manager, under its local framework. |
| No PFMI claim | No PFMI certification or compliance is claimed; the architecture refers to it for risk management. |
Reference budget: Phase 1 POC estimated at EUR 100k; Phase 2 (jurisdictions, independent audit and industrialization) to be costed after POC acceptance.
Historical feasibility work: the Ethereum/Sepolia components and Controllers listed below belong to the previous architecture. They are not part of the Release 3.0 target; this inventory does not imply that the Go Gateway and bank escrow integration are already operational.
What already exists
The project is not starting from scratch. The work already completed forms the foundation from which Packages 1 to 4 of the PoC can be qualified, budgeted and matched to suitable funding schemes.
| Area | Elements already in place | Status / scope |
|---|---|---|
| Technical documentation | Structured Books I–VII technical corpus covering the architecture, Osnias-ID, clearing cycles, security and rules, onboarding and the O-POP / RPC architecture. Related position papers and public documentation. | Documentation baseline available; to be kept aligned with the technical baseline. |
| Draft testnet development | Eight working draft components: 1W time oracle, Sei registry (identity), Sei controller and position ledger on Sei Atlantic-2 (Sei contracts verified); Node Registrar, EVM registry, EVM escrow and controller on Ethereum Sepolia; Osnias Clearing Desk platform online. Details: osnias-clearing.com/deployment/ and /end-user/. | Draft development on testnet; code to be reworked (Cursor AI → Foundry → Slither) before audit. |
| Regulatory pre-assessment | France — AMF: memorandum and regulatory pre-assessment file. Andorra — AFA: bilingual pre-assessment file submitted. Luxembourg — CSSF: bilingual pre-assessment file submitted. | Preparatory regulatory work already completed across three jurisdictions. |
| Ecosystem & third parties | Exploratory contacts with banking, fintech and infrastructure / technology players, as well as other institutional stakeholders. | Exploratory contacts and exchanges only; no partnership or consortium is presented as committed. |
| Outreach & traceability | Public website, summary FAQ, FR / EN documentation, architecture diagrams and technical publications enabling a third party to assess the project quickly before accessing detailed documents. | Qualification material for technical partners and authorities. |
For a funder: Phase 1 covers a reference Node Stack and Go Gateway prototype, the shared Solidity Core on Sei, and a multi-vendor POC. Independent audit and advanced industrialization work belong to Phase 2.
Historical feasibility work: the Ethereum/Sepolia components and Controllers listed below belong to the previous architecture. They are not part of the Release 3.0 target; this inventory does not imply that the Go Gateway and bank escrow integration are already operational.
Components already developed in draft (testnet)
The components below are deployed on testnet in draft development: they will be reworked through a clean development chain before the baseline is frozen and audited.
| Component | Network | Status | What works |
|---|---|---|---|
| 1W time oracle | Sei Atlantic-2 | Deployed, verified | Weekly cycle, clearing-cycle states and windows, cycle number and start block. |
| Sei registry (identity) | Sei Atlantic-2 | Deployed, verified | Identity of participants and nodes on the clearing side. |
| Sei controller | Sei Atlantic-2 | Deployed, verified | Links oracle, registry, clearing positions and the Sepolia EVM chain. |
| Clearing position ledger | Sei Atlantic-2 | Deployed | Recording of obligations and clearing positions; instructions and cycle controls. |
| Node Registrar | Ethereum Sepolia | Deployed | Registration of KK-NNN nodes (first node: 90-017). |
| EVM registry | Ethereum Sepolia | Deployed | KK zone registry on the EVM side. |
| EVM escrow & controller | Ethereum Sepolia | Deployed | Collateral escrow and control on the EVM side. |
| Clearing platform (Clearing Desk) | Sei Atlantic-2 | Online, draft | Wallet connection, ledger position, oracle state, function availability by window, registry. |
Addresses, creation transactions and verification parameters: osnias-clearing.com/deployment/ · platform: osnias-clearing.com/end-user/
Clean rework chain for the draft code
The tool matters less than the framing: each component is reworked in strict conformity with the technical specifications of Books I to VII.
- Cursor AI — assisted rewrite of the draft code from frozen specifications, consistent conventions, NatSpec documentation.
- Foundry — unit tests, fuzzing, invariant tests and multi-participant simulations.
- Slither — static analysis, detector review and remediation, dependency review.
- Verified testnet redeployment, then freeze of the baseline handed over to security hardening and audit.

Documentation corpus — Books I to VII
The technical corpus is published as seven books, each available in French and English on the public website and archived on Zenodo with a permanent DOI.
| Book | Title | Release | Public page | Zenodo DOI |
|---|---|---|---|---|
| I | Osnias-ID | 3.0 | /osniasid/ | 10.5281/zenodo.22978105 |
| II | Architecture | 3.0 | /architecture/ | Historical 2.1 reference · 10.5281/zenodo.23392588 |
| III | Clearing rules | 1.3 | /rules/ | 10.5281/zenodo.23368986 |
| IV | Clearing cycles 1W / 9W / 13W | 2.2 | /cycle/ | 10.5281/zenodo.23295463 |
| V | Security topology & resilience | 2.1 | /security/ | 10.5281/zenodo.23435558 |
| VI | Onboarding via a node | 1.1 | /onboarding/ | 10.5281/zenodo.23318060 |
| VII | O-POP Osnias — mainnet architecture | 1.0 | /pop/ | 10.5281/zenodo.23055994 |
Clean Code and a shared POC with 3 to 4 partners
Building on Phase 0, industrial, technology, financial and ERP software partners can contribute to a shared POC under separate agreements. The independent audit and substantial jurisdictional work are deferred to Phase 2.
| Package | Phase 1 deliverable | Indicative budget |
|---|---|---|
| P1-A · Reference Node Stack | Osnias-ID, simulated admission and a Go Bank Escrow Gateway prototype with simulated bank adapters, a confidential Osnias-ID/IBAN register and blocked-funds attestations. Excludes a complete production jurisdictional process. | EUR 30k |
| P1-B · Shared Osnias Core | Standard Solidity EVM Core on Sei: refactoring, unit and invariant tests of multilateral netting; simulated cycles and registries, bank-attestation verification and ERP API contracts. No stablecoins or Ethereum Controllers. | EUR 45k |
| P1-C · Multi-vendor POC | Prototype API connectors, cross-ERP scenarios, ISO 20022 messages and simulated accounting/bank reconciliation; tests of rejections, missing confirmations and partial settlements, plus shared POC documentation. | EUR 25k |
SEP governance: milestone acceptance and payments
Phase 1 is envisaged under a French société en participation (SEP), a contractual joint venture. Partners can recommend architecture, ERP interfaces and test criteria from the Clean Code stage. Each package is split into milestones with deliverables, acceptance criteria and validation reports. Partners approve milestones and authorize progress payments under the SEP agreement. Costs already incurred remain exposed to development risk.
Phase 1 exit
A shared POC documented and evaluated with its partners, a technical assessment, remediation scope and Phase 2 specification. The operating company would be incorporated at this milestone, subject to contractual decisions and funding for its creation. Founding partners are expected to become shareholders under written agreements and the articles of association; technical participation alone does not automatically confer shares.
View the ERP and accounting partnership invitationStructure the company and fund industrialization, jurisdictions and security
After the POC, the newly incorporated company may apply for grants and seek co-funding with Zabala or other specialists, depending on available schemes. No agreement or eligibility is presumed.
Funding and R&D applications
Packages, quotations, milestones, eligible expenditure and national or European grant applications, with possible private co-funding.
Jurisdictions and deployment
Regulatory qualification and node filings, local responsibilities, operating procedures, compliance and O-POP preparation.
Audit and security
Advanced load and resilience tests, bank integration under agreements, baseline freeze, independent audit of the Solidity Core, Go Gateway and critical components, remediation and re-testing.
Phase 2 budget to be determined. Audit, regulatory advice, industrialization and deployment costs depend on scope, jurisdictions and authority requirements. Required authorizations must precede operation of the relevant activities.
Integrate ERP software, activate nodes and commercialize Osnias Clearing
Following technical validation and required regulatory qualification, ERP vendors can provide B2B multilateral clearing through stable, documented APIs. Osnias Core maintains the common protocol; vendors develop connectors, invoice tracking and reconciliation; node operators handle admission, compliance and the services for which they are responsible. Banks execute net settlement under mandate. Osnias does not extend credit; legal and contractual due dates remain applicable.