{
  "id": "2018/740",
  "url": "https://opencryptology.org/2018/740",
  "original_url": "https://eprint.iacr.org/2018/740",
  "title": "FairSwap: How to fairly exchange digital goods",
  "authors": [
    "Stefan Dziembowski",
    "Lisa Eckey",
    "Sebastian Faust"
  ],
  "affiliations": null,
  "abstract": "We introduce FairSwap -- an efficient protocol for fair exchange of digital goods using smart contracts.\nA fair exchange protocol allows a sender S to sell a digital commodity x for a fixed price p to a receiver R.\nThe protocol is said to be secure if R only pays if he receives the correct x.\nOur solution guarantees fairness by relying on smart contracts executed over decentralized cryptocurrencies, where the contract takes the role of an external judge that completes the exchange in case of disagreement.\nWhile in the past there have been several proposals for building fair exchange protocols over cryptocurrencies, our solution has two distinctive features that makes it particular attractive when users deal with large commodities.\nThese advantages are: (1) minimizing the cost for running the smart contract on the blockchain, and (2) avoiding expensive cryptographic tools such as zero-knowledge proofs.\nIn addition to our new protocols, we provide formal security definitions for smart contract based fair exchange, and prove security of our construction.\nFinally, we  illustrate several applications of our basic protocol and evaluate practicality of our approach via a prototype implementation for fairly selling large files over the cryptocurrency Ethereum.",
  "category": "Cryptographic protocols",
  "license": {
    "code": "CC BY",
    "url": "https://creativecommons.org/licenses/by/4.0/",
    "label": "CC BY 4.0",
    "attribution": "“FairSwap: How to fairly exchange digital goods” by Stefan Dziembowski, Lisa Eckey, Sebastian Faust, Cryptology ePrint Archive, Paper 2018/740, https://eprint.iacr.org/2018/740. Licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/).",
    "retroactive": true,
    "redistribute_verbatim_only": false,
    "non_commercial": false
  },
  "dates": {
    "submitted": "2018-08-15T13:23:58Z",
    "updated": "2018-09-05T11:06:12Z",
    "withdrawn": null
  },
  "withdrawn": false,
  "withdrawn_on": null,
  "pdf": {
    "url": "https://opencryptology.org/2018/740.pdf",
    "sha256": "1aa10ade7455737ec7c106b5e57f95acb725af287a407a5e92c01781325f41e0",
    "size": 668481,
    "source": "github-mirror",
    "source_date": "2019-02-25T18:03:07Z",
    "maybe_stale": false,
    "newer_on_eprint": null,
    "withdrawn": false
  },
  "versions": [
    {
      "url": "https://opencryptology.org/2018/740/versions/20190225T180307Z.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "label": "copy captured 2019-02-25",
      "source": "github-mirror",
      "source_url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/740.pdf",
      "size": 668481,
      "sha256": "1aa10ade7455737ec7c106b5e57f95acb725af287a407a5e92c01781325f41e0",
      "is_default_pdf": true
    }
  ],
  "other_sources": [
    {
      "kind": "wayback",
      "url": "https://web.archive.org/web/20260306061443id_/https://eprint.iacr.org/2018/740.pdf",
      "captured_at": "2026-03-06T06:14:43Z",
      "size": 629544
    },
    {
      "kind": "github-mirror",
      "url": "https://raw.githubusercontent.com/arturo-kong/IACR-eprint-mirror/master/2018/740.pdf",
      "captured_at": "2019-02-25T18:03:07Z",
      "size": 668481
    }
  ],
  "bibtex": "@misc{cryptoeprint:2018/740,\n      author = {Stefan Dziembowski and Lisa Eckey and Sebastian Faust},\n      title = {FairSwap: How to fairly exchange digital goods},\n      howpublished = {Cryptology {ePrint} Archive, Paper 2018/740},\n      year = {2018},\n      url = {https://eprint.iacr.org/2018/740}\n}"
}
