{
  "id": "2026/2807",
  "url": "https://opencryptology.org/2026/2807",
  "original_url": "https://eprint.iacr.org/2026/2807",
  "title": "FirstSwap: Pre-Consensus Trade Approvals for Decentralized Market Design",
  "authors": [
    "William Diamond",
    "Fatima Elsheimy",
    "Dahlia Malkhi",
    "Geoff Ramseyer",
    "Srivatsan Sridhar"
  ],
  "affiliations": null,
  "abstract": "Decentralized exchanges typically give traders no execution guarantee until a block is finalized. In the meantime, external prices move, traders strategically delay submission, and block producers can influence inclusion and ordering. We introduce FirstSwap, a DEX built on a constant-function market maker pricing curve that gives traders an early pre-approval before consensus, guaranteeing inclusion and execution within their submitted price limit, with final ordering determined by limit prices rather than by a block producer.\n\nWe demonstrate the benefits of trade pre-approvals in an economic model combining auction theory with CEX-DEX arbitrage. When the CEX price changes gradually, FirstSwap rewards earlier traders with better prices, discouraging strategic delay and yielding higher social welfare and gains to AMM liquidity providers than a batch auction. When the CEX price jumps abruptly, FirstSwap yields higher welfare and smaller AMM losses than fair ordering.\n\nThe central challenge is delivering fast trade pre-approvals without consensus. We introduce a decentralized, scaled admissibility protocol under which each validator reserves only a fraction of the available liquidity at every price. A trader obtains approval in a single round of messages with a quorum of validators. Somewhat surprisingly, despite Byzantine validators who may approve trades arbitrarily, we show that all quorum-certified trades are jointly admissible and execute within their limits.  Our protocol extends naturally to a setting where buy and sell orders can be pre-approved against each other before a block is finalized.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“FirstSwap: Pre-Consensus Trade Approvals for Decentralized Market Design” by William Diamond, Fatima Elsheimy, Dahlia Malkhi, Geoff Ramseyer, Srivatsan Sridhar, Cryptology ePrint Archive, Paper 2026/2807, https://eprint.iacr.org/2026/2807. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2026-11-06T21:44:49Z",
    "updated": "2026-11-06T21:44:49Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/2807.pdf",
    "sha256": "aa20ef32e0614d4310e9bab95336e9b191574df3710c7ef98e8172e8ad3e055f",
    "size": 721549,
    "source": "upload",
    "source_date": "2026-11-11T00:51:56.351Z",
    "maybe_stale": false,
    "newer_on_eprint": false,
    "withdrawn": false
  },
  "versions": [],
  "other_sources": [],
  "bibtex": "@misc{cryptoeprint:2026/2807,\n      author = {William Diamond and Fatima Elsheimy and Dahlia Malkhi and Geoff Ramseyer and Srivatsan Sridhar},\n      title = {FirstSwap: Pre-Consensus Trade Approvals for Decentralized Market Design},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/2807},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/2807}\n}"
}
