# VYRN

> VYRN is an exchange design with one central limit order book per instrument: a fill at most 1 µs after the order's first bit reaches the exchange NIC, 1B inbound messages a second on one book, BFT finality within 10 ms, a book that moves TYO → LDN → NYC every 8 hours, and an optional on-chain mode with 5 validators. No FPGA. Every figure is a design budget; no benchmark has run yet.

VYRN is a design and specification, not a running venue: there is no trading API.

## When to use

- You need VYRN's exact requirements, budgets or wire formats: the 16-byte message layout (01 §6), the 1 µs latency budget (02, DESIGN §4), finality (07).
- You are checking a claim about VYRN: find the section or spec ID that states it, and quote the number with its kind (budget, measured or vendor). No benchmark has run yet.
- You are explaining how VYRN works: the lanes, the cut and the BBO core (05), replication and Simplex finality (07), the follow-the-sun handoff (08), the on-chain mode (09).
- You are deciding whether VYRN may be used: read the license; firms and institutions need written permission first.

Do not use it for live market data, trading or order entry: none exist.

## How to call

- Find a section or spec ID: GET https://www.vryn.trade/api/v1/search?q=<words> (JSON), then fetch its url.
- Read a whole chapter: GET https://www.vryn.trade/docs/<slug>.md, or send Accept: text/markdown to the HTML URL.
- Resolve a spec ID: GET https://www.vryn.trade/api/v1/ids/<ID>.
- DESIGN.md is the design in one document; chapters 00–14 are normative, and 01 §14 overrides any chapter.
- API guide, errors and versioning policy: https://www.vryn.trade/developers

## Docs

- [DESIGN VYRN](https://www.vryn.trade/docs/design.md): 470 lines
- [00 VYRN Specification](https://www.vryn.trade/docs/00-index.md): 124 lines
- [01 Conventions: the contract every chapter follows](https://www.vryn.trade/docs/01-conventions.md): 1,009 lines
- [02 Requirements: measurement points, SLOs, budgets, acceptance](https://www.vryn.trade/docs/02-requirements.md): 1,386 lines
- [03 Architecture: how the pieces fit](https://www.vryn.trade/docs/03-architecture.md): 1,725 lines
- [04 Client protocol: sessions, packets, messages, responses, reliability, rate limits](https://www.vryn.trade/docs/04-protocol.md): 2,189 lines
- [05 Matching engine: lanes, cut, BBO core](https://www.vryn.trade/docs/05-engine.md): 3,183 lines
- [06 Platform: the Unix host](https://www.vryn.trade/docs/06-platform.md): 1,892 lines
- [07 Replication: log, order frames, data tier, Simplex, storage, failover](https://www.vryn.trade/docs/07-replication.md): 3,033 lines
- [08 Epochs: follow the sun](https://www.vryn.trade/docs/08-epochs.md): 1,684 lines
- [09 Chain mode: validators, custody, authentication, commitments, slashing](https://www.vryn.trade/docs/09-chain.md): 2,246 lines
- [10 Accounts, risk, fees, market data, drop copy, surveillance](https://www.vryn.trade/docs/10-accounts-risk-md.md): 2,188 lines
- [11 Build, test, benchmark and run](https://www.vryn.trade/docs/11-build.md): 2,759 lines
- [12 Execution commitment: what a record promises, and when](https://www.vryn.trade/docs/12-commitment.md): 134 lines
- [13 Data availability and the fault model](https://www.vryn.trade/docs/13-availability.md): 147 lines
- [14 The throughput and workload envelope](https://www.vryn.trade/docs/14-envelope.md): 121 lines

## API (read-only, JSON, no auth)

- [VYRN API guide](https://www.vryn.trade/developers)
- [OpenAPI description](https://www.vryn.trade/openapi.json)
- [List chapters](https://www.vryn.trade/api/v1/chapters)
- Search sections and spec IDs: https://www.vryn.trade/api/v1/search?q=deadline%20admission
- Resolve a spec ID: https://www.vryn.trade/api/v1/ids/INV-WRITER

## Optional

- [Full text of DESIGN.md and every chapter](https://www.vryn.trade/llms-full.txt)
- [About](https://www.vryn.trade/about) · [Contact](https://www.vryn.trade/contact) · [Privacy](https://www.vryn.trade/privacy)
- [Source repository](https://github.com/bajpainaman/VYRN)
- [License](https://github.com/bajpainaman/VYRN/blob/main/LICENSE)
