{
  "id": "2022/700",
  "url": "https://opencryptology.org/2022/700",
  "original_url": "https://eprint.iacr.org/2022/700",
  "title": "Grief-free Atomic Swaps",
  "authors": [
    "Tejaswi Nadahalli",
    "Majid Khabbazian",
    "Roger Wattenhofer"
  ],
  "affiliations": null,
  "abstract": "Atomic Swaps enable exchanging crypto-assets without trusting a third party. To enable these swaps, both parties lock funds and let their counterparty withdraw them in exchange for a secret. This leads to the so-called griefing attack, or the emergence of an American Call option, where one party stops participating in the swap, thereby making their counterparty wait for a timelock to expire before they can withdraw their funds. The standard way to mitigate this attack is to make the attacker pay a premium for the emerging American Call option. In these premium-paying approaches, the premium itself ends up being locked for possibly an even longer duration than the swap amount itself. We propose a new Atomic Swap construction, where neither party exposes itself to a griefing attack by their counterparty. Notably, unlike previous constructions, ours can be implemented in Bitcoin as is. Our construction also takes fewer on-chain transactions and has a lower worst-case timelock.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Grief-free Atomic Swaps” by Tejaswi Nadahalli, Majid Khabbazian, Roger Wattenhofer, Cryptology ePrint Archive, Paper 2022/700, https://eprint.iacr.org/2022/700. 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-06-02T10:48:48Z",
    "updated": "2022-06-02T10:48:48Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2022/700.pdf",
    "sha256": "def354bcfb0b6ba606186dd344bd14465e3e14c60a09f2f847e466b627a177c6",
    "size": 270898,
    "source": "github-mirror",
    "source_date": "2024-01-14T06:13:34Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2022/700/versions/20240114T061334Z.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "label": "copy captured 2024-01-14",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/700.pdf",
      "size": 270898,
      "sha256": "def354bcfb0b6ba606186dd344bd14465e3e14c60a09f2f847e466b627a177c6",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260227033157id_/https://eprint.iacr.org/2022/700.pdf",
      "captured_at": "2026-02-27T03:31:57Z",
      "size": 270973
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2022/700.pdf",
      "captured_at": "2024-01-14T06:13:34Z",
      "size": 270898
    }
  ],
  "bibtex": "@misc{cryptoeprint:2022/700,\n      author = {Tejaswi Nadahalli and Majid Khabbazian and Roger Wattenhofer},\n      title = {Grief-free Atomic Swaps},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2022/700},\n      year = {2022},\n      url = {https://eprint.iacr.org/2022/700}\n}"
}
