# For DeFi/Rollup Devs

Continuum is chain-agnostic. Drop-in adapters exist for Solidity (Uniswap v4 hooks, RFQ routers), Rust/Anchor (OpenBook v2 gated pools), and CosmWasm modules. A typical integration requires:

1. Importing the core verification library (≈200 LOC in most runtimes).
2. Replacing your contract’s *msg.sender* or *clock.slot* ordering routine with requireValidSequence(root, proof, seqNum).
3. Optionally subscribing to the public Sequencer Mesh so your front-end or relayer always submits proofs alongside user intents.

Because proofs are constant-size (1.6 kB Wesolowski), gas overhead is modest—​35 k on Ethereum L1, far less on L2s. The same FIFO guarantees that secure Fermi trades can now secure batch auctions, per-block oracle updates, or cross-chain bridge queues, eliminating an entire class of MEV exploits at the middleware layer.


---

# Agent Instructions: 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:

```
GET https://docs.fermilabs.xyz/usage/for-defi-rollup-devs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
