{
  "id": "2024/418",
  "url": "https://opencryptology.org/2024/418",
  "original_url": "https://eprint.iacr.org/2024/418",
  "title": "Atomic and Fair Data Exchange via Blockchain",
  "authors": [
    "Ertem Nusret Tas",
    "István András Seres",
    "Yinuo Zhang",
    "Márk Melczer",
    "Mahimna Kelkar",
    "Joseph Bonneau",
    "Valeria Nikolaenko"
  ],
  "affiliations": null,
  "abstract": "We introduce a blockchain Fair Data Exchange (FDE) protocol, enabling a storage server to transfer a data file to a client atomically: the client receives the file if and only if the server receives an agreed-upon payment. We put forth a new definition for a cryptographic scheme that we name verifiable encryption under committed key (VECK), and we propose two instantiations for this scheme. Our protocol relies on a blockchain to enforce the atomicity of the exchange and uses VECK to ensure that the client receives the correct data (matching an agreed-upon commitment) before releasing the payment for the decrypting key. Our protocol is trust-minimized and requires only constant-sized on-chain communication, concretely 3 signatures, 1 verification key, and 1 secret key, with most of the data stored and communicated off-chain. It also supports exchanging only a subset of the data, can amortize the server's work across multiple clients, and offers a general framework to design alternative FDE protocols using different commitment schemes. A prominent application of our protocol is the Danksharding data availability scheme on Ethereum, which commits to data via KZG polynomial commitments. We also provide an open-source implementation for our protocol with both instantiations for VECK, demonstrating our protocol's efficiency and practicality on Ethereum.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“Atomic and Fair Data Exchange via Blockchain” by Ertem Nusret Tas, István András Seres, Yinuo Zhang, Márk Melczer, Mahimna Kelkar, Joseph Bonneau, Valeria Nikolaenko, Cryptology ePrint Archive, Paper 2024/418, https://eprint.iacr.org/2024/418. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": false,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2024-03-09T23:41:14Z",
    "updated": "2024-09-05T00:11:12Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2024/418.pdf",
    "sha256": "3cc763ff6d91ff0bbf4114d69a409189232a0a33b2fae8fbdfc14bb24cd70871",
    "size": 1156887,
    "source": "github-mirror",
    "source_date": "2026-04-28T17:20:00Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2024/418/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/2024/418.pdf",
      "size": 1156887,
      "sha256": "3cc763ff6d91ff0bbf4114d69a409189232a0a33b2fae8fbdfc14bb24cd70871",
      "is_default_pdf": true
    },
    {
      "url": "https://opencryptology.org/2024/418/versions/20240319T040023Z.pdf",
      "captured_at": "2024-03-19T04:00:23Z",
      "label": "copy captured 2024-03-19",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240319040023id_/https://eprint.iacr.org/2024/418.pdf",
      "size": 1144816,
      "sha256": "e7230ebe8ae04d40125788f41cbda5e833af3afe38ff716732b7db8f2f438510",
      "is_default_pdf": false
    },
    {
      "url": "https://opencryptology.org/2024/418/versions/20240311T080219Z.pdf",
      "captured_at": "2024-03-11T08:02:19Z",
      "label": "copy captured 2024-03-11",
      "source": "wayback",
      "source_url": "https://web.archive.org/web/20240311080219id_/https://eprint.iacr.org/2024/418.pdf",
      "size": 1145576,
      "sha256": "6a038292d0ff184d4a0e6988ae171f62244978c86036d0d641e025bcefb134e3",
      "is_default_pdf": false
    }
  ],
  "other_sources": [
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2024/418.pdf",
      "captured_at": "2026-04-28T17:20:00Z",
      "size": 1156887
    },
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20251123185403id_/https://eprint.iacr.org/2024/418.pdf",
      "captured_at": "2025-11-23T18:54:03Z",
      "size": 1073930
    }
  ],
  "bibtex": "@misc{cryptoeprint:2024/418,\n      author = {Ertem Nusret Tas and István András Seres and Yinuo Zhang and Márk Melczer and Mahimna Kelkar and Joseph Bonneau and Valeria Nikolaenko},\n      title = {Atomic and Fair Data Exchange via Blockchain},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2024/418},\n      year = {2024},\n      url = {https://eprint.iacr.org/2024/418}\n}"
}
