Repository navigation
Home
VYRN is a spec-first exchange with one central limit order book per instrument. Its specification (spec/00-index.md) sets these requirements at the same time:
- a fill at most 1 µs after the order's first bit reaches the exchange NIC;
- 1B inbound messages per second on one book;
- BFT finality within 10 ms;
- a book that moves between continents every 8 hours (TYO → LDN → NYC);
- an optional on-chain mode with 5 validator operators.
All logic runs on general-purpose CPUs and off-the-shelf NICs, with no FPGA, ASIC, P4 switch, SmartNIC or GPU (constraint C-NOCHIP).
Every figure in this wiki is a design budget, a hard maximum or a vendor figure, never a measurement. 00-index defines the three kinds and says there are no measured numbers yet; the README says "No benchmark has run yet".
bench/reports/is empty.
-
Commit:
a9f0d61onmain(merge of PR #47, 2026-11-18 01:26 UTC). It includes PRs #32–#47: vyrn-lane, vyrn-bbo, vyrn-engine, vyrn-data, vyrn-epoch, vyrn-chain (bridge), vyrn-replica, vyrn-md and the gate tools. - Spec: draft 0.2 (chapters 00–11) plus the draft 0.3 chapters 12–14 and the draft 0.3 rulings in 01 §14.19. The spec in the repository is the source of truth; these pages summarize it and link to it.
- Every repository link is pinned to that commit.
- Architecture: the master diagram and the crate layers of 11 §1.4, with the dependencies the code actually has.
- Milestones and Status: what exists against 11 §11.1, crate by crate.
- Known Gaps: where the code and the spec disagree, and contradictions inside the spec.
- Open Questions: the open items of 01 §14.18 and each chapter's open questions.
- Building, Testing, Benchmarking and CI Gates and Releases.
- Glossary: the words of 01 §1.
| # | Page | Chapter |
|---|---|---|
| 00 | Spec 00: Index | constraints, reading order, master diagram |
| 01 | Spec 01: Conventions | the contract every chapter follows; §14 binding decisions |
| 02 | Spec 02: Requirements | requirements, SLOs, budgets, acceptance |
| 03 | Spec 03: Architecture | system, region, box and core diagrams |
| 04 | Spec 04: Protocol | client protocol |
| 05 | Spec 05: Engine | lanes, cut, BBO core |
| 06 | Spec 06: Platform | Unix host, NIC backends, C shim, PTP |
| 07 | Spec 07: Replication | log, data tier, Simplex, finality, failover |
| 08 | Spec 08: Epochs | follow the sun, handoff, opening auction |
| 09 | Spec 09: Chain | on-chain mode, bridge, slashing |
| 10 | Spec 10: Accounts, Risk, MD | accounts, risk, fees, market data, drop copy |
| 11 | Spec 11: Build | repo, crates, tests, benchmarks, CI, ops, milestones |
| 12 | Spec 12: Commitment | draft 0.3: execution lifecycle |
| 13 | Spec 13: Availability | draft 0.3: data availability, DAV-1 to DAV-4 |
| 14 | Spec 14: Envelope | draft 0.3: throughput envelope |
Engine crates (crates/engine/, under INV-DET): vyrn-types, vyrn-crypto, vyrn-wire, vyrn-cut, vyrn-risk, vyrn-lane, vyrn-bbo, vyrn-engine.
Other crates: vyrn-nic, vyrn-log, vyrn-data, vyrn-consensus, vyrn-replica, vyrn-epoch, vyrn-chain, vyrn-md, vyrn-sim, vyrn-bench.
Binary-only packages (bin/): vyrn-seq (stub), vyrn-validator (stub), vyrn-admin.
Outside Rust: Vx oracle and client (vx/), L1 bridge contracts (contracts/).
VYRN is source-available under the VYRN Research and Education License 1.0 (LICENSE); commercial, production, government or financial-institution use needs prior written permission. See the README.
Overview
Working on VYRN
Spec
- 00 Index
- 01 Conventions
- 02 Requirements
- 03 Architecture
- 04 Protocol
- 05 Engine
- 06 Platform
- 07 Replication
- 08 Epochs
- 09 Chain
- 10 Accounts, Risk, MD
- 11 Build
- 12 Commitment
- 13 Availability
- 14 Envelope
Engine crates
Other crates
- vyrn-nic
- vyrn-log
- vyrn-data
- vyrn-consensus
- vyrn-replica
- vyrn-epoch
- vyrn-chain
- vyrn-md
- vyrn-sim
- vyrn-bench
Binaries
- vyrn-seq (stub)
- vyrn-validator (stub)
- vyrn-admin
Outside Rust
Reflects main at a9f0d61.