Skip to content
Amp edited this page Nov 18, 2026 · 3 revisions

VYRN wiki

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.

What this wiki reflects

  • Commit: a9f0d61 on main (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.

Start here

Spec chapters

# 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

Crates and binaries

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/).

License

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.

Clone this wiki locally