Paper 2018/740 Original: eprint.iacr.org/2018/740 ↗

FairSwap: How to fairly exchange digital goods

Stefan Dziembowski
Lisa Eckey
Sebastian Faust
Abstract

We introduce FairSwap -- an efficient protocol for fair exchange of digital goods using smart contracts. A fair exchange protocol allows a sender S to sell a digital commodity x for a fixed price p to a receiver R. The protocol is said to be secure if R only pays if he receives the correct x. Our 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. While 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. These 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. In addition to our new protocols, we provide formal security definitions for smart contract based fair exchange, and prove security of our construction. Finally, 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.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
History
2018-09-05: last updated
2018-08-15: published
Short URL
https://ia.cr/2018/740
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2018/740,
      author = {Stefan Dziembowski and Lisa Eckey and Sebastian Faust},
      title = {FairSwap: How to fairly exchange digital goods},
      howpublished = {Cryptology {ePrint} Archive, Paper 2018/740},
      year = {2018},
      url = {https://eprint.iacr.org/2018/740}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.