{
  "id": "2022/1063",
  "url": "https://opencryptology.org/2022/1063",
  "original_url": "https://eprint.iacr.org/2022/1063",
  "title": "Rapidash: Atomic Swaps Secure under User-Miner Collusion",
  "authors": [
    "Hao Chung",
    "Elisaweta Masserova",
    "Elaine Shi",
    "Sri AravindaKrishnan Thyagarajan"
  ],
  "affiliations": null,
  "abstract": "Cross-chain trading is fundamental to blockchains and Decentralized Finance (DeFi). A way to achieve such trading in a truly decentralized manner, i.e., without trusted third parties, is by using atomic swaps. However, recent works revealed that Hashed Time-Lock Contract, a key building block of the existing atomic swaps, is entirely insecure in the presence of user-miner collusion. Specifically, a user can bribe the miners of the blockchain to help it cheat.\n\nIn this work, we give the first and rigorous formal treatment of fair trading on blockchains, where users and miners may enter arbitrary binding contracts on the side. We propose Rapidash, a new atomic swap protocol, and prove its incentive-compatibility in the presence of user-miner collusion. Specifically, we show that Rapidash satisfies a coalition-resistant Nash equilibrium absent external incentives. We give instantiations of Rapidash that are compatible with Bitcoin and Ethereum, and incur only minimal overheads in terms of costs for the users.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Rapidash: Atomic Swaps Secure under User-Miner Collusion” by Hao Chung, Elisaweta Masserova, Elaine Shi, Sri AravindaKrishnan Thyagarajan, Cryptology ePrint Archive, Paper 2022/1063, https://eprint.iacr.org/2022/1063. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2022-08-16T04:17:47Z",
    "updated": "2025-06-26T00:19:05Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/1063.pdf",
    "sha256": "05916f02c155d1cdae73db990e66543604c2b1c52a86aafeb44547592434c88b",
    "size": 973417,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/1063/versions/20260428T172000Z.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "label": "copy captured 2026-04-28",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1063.pdf",
      "size": 973417,
      "sha256": "05916f02c155d1cdae73db990e66543604c2b1c52a86aafeb44547592434c88b",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2022/1063/versions/20241005T040901Z.pdf",
      "captured_at": "2024-10-05T04:09:01Z",
      "label": "copy captured 2024-10-05",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20241005040901id_/https://eprint.iacr.org/2022/1063.pdf",
      "size": 1252112,
      "sha256": "aad60bbb2e6c168157b22229b7a530e6a22dfcfacbb9b5743d972f11bf6250ae",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/1063/versions/20221019T101023Z.pdf",
      "captured_at": "2022-10-19T10:10:23Z",
      "label": "copy captured 2022-10-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20221019101023id_/https://eprint.iacr.org/2022/1063.pdf",
      "size": 644792,
      "sha256": "b0947675c9d92b1143c77c34cfe12ab1efed962b7672ff2d074da9d0a12eac48",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2022/1063/versions/20220817T011244Z.pdf",
      "captured_at": "2022-08-17T01:12:44Z",
      "label": "copy captured 2022-08-17",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20220817011244id_/https://eprint.iacr.org/2022/1063.pdf",
      "size": 651610,
      "sha256": "d6c4f71a97f802be83bba4c7a3657f93f19cc57e17dd646bd27ccd7f777c74cd",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/1063.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 973417
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260419173015id_/https://eprint.iacr.org/2022/1063.pdf",
      "captured_at": "2026-04-19T17:30:15Z",
      "size": 967525
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/1063,\n      author = {Hao Chung and Elisaweta Masserova and Elaine Shi and Sri AravindaKrishnan Thyagarajan},\n      title = {Rapidash: Atomic Swaps Secure under User-Miner Collusion},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/1063},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/1063}\n}"
}
