{
  "id": "2021/609",
  "url": "https://opencryptology.org/2021/609",
  "original_url": "https://eprint.iacr.org/2021/609",
  "title": "FairMM: A Fast and Frontrunning-Resistant Crypto Market-Maker",
  "authors": [
    "Michele Ciampi",
    "Muhammad Ishaq",
    "Malik Magdon-Ismail",
    "Rafail Ostrovsky",
    "Vassilis Zikas"
  ],
  "affiliations": null,
  "abstract": "Frontrunning is a major problem in DeFi applications, such as blockchain-based exchanges. Albeit, existing solutions are not practical and/or they make external trust assumptions. In this work we propose a market-maker-based crypto-token exchange, which is both more efficient than existing solutions and offers provable resistance to frontrunning attack. Our approach combines in a clever way a game theoretic analysis of market-makers with new cryptography and blockchain tools to defend against all three ways by which an exchange might front-run, i.e., (1) reorder trade requests, (2) adaptively drop trade requests, and (3) adaptively insert (its own) trade requests. Concretely, we propose novel light- weight cryptographic tools and smart-contract-enforced incentives to eliminate reordering attacks and ensure that dropping requests have to be oblivious (uninformed) of the actual trade. We then prove that with these attacks eliminated, a so-called monopolistic market-maker has no longer incentives to add or drop trades. We have implemented and benchmarked our exchange and provide concrete evidence of its advantages over existing solutions.",
  "category": "Applications",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“FairMM: A Fast and Frontrunning-Resistant Crypto Market-Maker” by Michele Ciampi, Muhammad Ishaq, Malik Magdon-Ismail, Rafail Ostrovsky, Vassilis Zikas, Cryptology ePrint Archive, Paper 2021/609, https://eprint.iacr.org/2021/609. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2021-05-17T06:13:34Z",
    "updated": "2023-06-12T04:36:02Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2021/609.pdf",
    "sha256": "b7478abf93933240ba614f9ddc5eeb2ad5fd943735bc0784aba50e17aab2bb56",
    "size": 562521,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:28Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2021/609/versions/20240114T061328Z.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/609.pdf",
      "size": 562521,
      "sha256": "b7478abf93933240ba614f9ddc5eeb2ad5fd943735bc0784aba50e17aab2bb56",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2021/609/versions/20210726T203010Z.pdf",
      "captured_at": "2021-07-26T20:30:10Z",
      "label": "copy captured 2021-07-26",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20210726203010id_/https://eprint.iacr.org/2021/609.pdf",
      "size": 609897,
      "sha256": "69b3893e87777175a464d77764e0b09e3736d375e62520f4ce77bfd30294f0e2",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260218105040id_/https://eprint.iacr.org/2021/609.pdf",
      "captured_at": "2026-02-18T10:50:40Z",
      "size": 562588
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2021/609.pdf",
      "captured_at": "2024-01-14T06:13:28Z",
      "size": 562521
    }
  ],
  "bibtex": "@misc{cryptoeprint:2021/609,\n      author = {Michele Ciampi and Muhammad Ishaq and Malik Magdon-Ismail and Rafail Ostrovsky and Vassilis Zikas},\n      title = {FairMM: A Fast and Frontrunning-Resistant Crypto Market-Maker},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2021/609},\n      year = {2021},\n      url = {https://eprint.iacr.org/2021/609}\n}"
}
