> For the complete documentation index, see [llms.txt](https://docs.fermilabs.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fermilabs.xyz/fermi-dex/introduction.md).

# Introduction

Fermi DEX is a high-performance, Solana-settled order-book exchange designed to bring NASDAQ-class latency (<1 ms placement/cancel) and throughput (>200 k TPS) to DeFi while preserving verifiable fairness. It combines an on-chain settlement layer with an off-chain, cryptographically enforced FIFO matching engine, allowing traders to enjoy centralized-exchange UX without sacrificing trustlessness or self-custody. Programmable liquidity primitives enable capital parked elsewhere to back orders, dramatically improving capital efficiency for LPs and market makers.<br>

### Functionalities

* Verifiable FIFO Matching – Orders are inserted strictly in the sequence determined by Continuum’s proof-based sequencer, eliminating MEV arising from re-ordering.
* Sub-Millisecond Latency – A custom Rust matching engine and memory-mapped order book deliver sub-ms placement and cancellation even under burst load.
* Programmable Liquidity (“Promised Capital”) – Users may lock fungible collateral in vaults or yield strategies and use a cryptographic voucher to back multiple open orders, yielding ≥10× capital utilization.
* Atomic Settlement on Solana – Matched trades settle on Solana with a single CPI call, inheriting Solana’s liveness and finality guarantees.
* Cranker-Driven Event Consumption – Permissionless crankers consume order-book events, paying fees in SOL and earning rebates, ensuring decentralized liveness.
* SDK-Level Risk Controls – Built-in functions for cancel-on-disconnect, margin checks, and programmable kill-switches reduce tail-risk for HFT strategies.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.fermilabs.xyz/fermi-dex/introduction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
