{
  "id": "2026/887",
  "url": "https://opencryptology.org/2026/887",
  "original_url": "https://eprint.iacr.org/2026/887",
  "title": "Probabilistic Atomic Swaps for Bitcoin and Friends",
  "authors": [
    "Paul Gerhart",
    "Jay Taylor",
    "Sri Aravinda Krishnan Thyagarajan"
  ],
  "affiliations": null,
  "abstract": "Atomic swaps are a fundamental primitive for the trustless exchange of digital assets across blockchains: they guarantee that either both parties receive the agreed assets or neither party transfers. While this all-or-nothing guarantee is powerful, it also imposes an inherent determinism that rules out exchanges whose intended outcome is probabilistic. As a result, existing atomic swaps cannot realize trustless exchanges in which one party pays for a fixed chance of receiving a larger asset or reward, as in lotteries, randomized allocation mechanisms, and probabilistic cross-chain trades.\n\nWe introduce probabilistic swaps, a new cryptographic primitive that extends atomic swaps to the probabilistic setting. \nIn a probabilistic swap, one party's transfer is executed with a fixed, publicly specified probability embedded in the protocol and cannot be biased by either party. \nThis yields a trustless mechanism for randomized exchange with verifiable odds and no trusted intermediary.\n\nOur construction combines adaptor signatures with oblivious pseudorandom functions (OPRFs) to realize the desired probabilistic outcome while ensuring that neither party can predict or bias it in advance. Along the way, we introduce a new mechanism for the atomic exchange of OPRF evaluations for payments, which may be of independent interest.\nA key feature of our approach is that it preserves the minimal on-chain footprint of modern atomic-swap protocols. The protocol relies only on standard Bitcoin scripts, such as digital signatures and timelocks, and is deployable on any blockchain that already supports atomic swaps. Consequently, probabilistic swaps are indistinguishable from ordinary on-chain transactions, which helps preserve privacy and fungibility. \nWe provide formal security foundations and demonstrate practicality through a probabilistic swap between the Bitcoin and Litecoin testnets, as well as in the Lightning Network.",
  "category": null,
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Probabilistic Atomic Swaps for Bitcoin and Friends” by Paul Gerhart, Jay Taylor, Sri Aravinda Krishnan Thyagarajan, Cryptology ePrint Archive, Paper 2026/887, https://eprint.iacr.org/2026/887. 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-05-06T07:33:29Z",
    "updated": "2026-05-06T07:33:29Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2026/887.pdf",
    "sha256": "a9d250cc4ae5509ee71400103f43cda93c7fbb754544630deabe2a879c32cfa6",
    "size": 843110,
    "source": "wayback",
    "source_date": "2026-05-25T20:27:50Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2026/887/versions/20260525T202750Z.pdf",
      "captured_at": "2026-05-25T20:27:50Z",
      "label": "copy captured 2026-05-25",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20260525202750id_/https://eprint.iacr.org/2026/887.pdf",
      "size": 843110,
      "sha256": "a9d250cc4ae5509ee71400103f43cda93c7fbb754544630deabe2a879c32cfa6",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260525202750id_/https://eprint.iacr.org/2026/887.pdf",
      "captured_at": "2026-05-25T20:27:50Z",
      "size": 830929
    }
  ],
  "bibtex": "@misc{cryptoeprint:2026/887,\n      author = {Paul Gerhart and Jay Taylor and Sri Aravinda Krishnan Thyagarajan},\n      title = {Probabilistic Atomic Swaps for Bitcoin and Friends},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2026/887},\n      year = {2026},\n      url = {https://eprint.iacr.org/2026/887}\n}"
}
