skip to main content
research-article

Accelerated Verifiable Fair Digital Exchange

Published: 18 September 2023 Publication History

Abstract

A Fair Digital Exchange is defined as either all or none of the participants achieving a (predetermined) desirable outcome. This work addresses third party mediated systems for digital content where mutually unknown, and hence non-trusting, buyers, sellers and the mediator (third party) take part in an exchange protocol. We address the lack of guaranteed fairness, as defined above, in the existing platforms for this setting. We present TEDX, a decentralized solution for guaranteed three party fair exchange of digital goods with scalability and support for incremental deployment over the existing (non-fair) platforms. TEDX combines carefully crafted message exchanges with incentive schemes designed to deter malicious behavior. TEDX also leverages ideas from blockchain anchored state-channels to provide trusted execution while minimizing the operational overheads of blockchain.
We present the design and a security analysis of TEDX to validate the claimed fairness properties. We also present the details of a prototype implementation of TEDX leveraging Hyperledger Fabric and performance evaluation of the same on a realistic testbed spanning five public cloud zones. Our results indicate that TEDX adds only a minimal overhead of 16% while being 46x faster than a naive blockchain solution, thereby demonstrating that TEDX is scalable.

Appendix

In this section we provide the algorithms used in TEDX, we begin by describing the notations used, next we provide the state channel abstraction used by \(\mathbb {B}\) and \(\mathbb {F}\) in TEDX. We then provide details on the algorithms mentioned in Section 3.
— Notation: Let \(\lambda\) be a security parameter, \(H:\) \(\lbrace 0,1\rbrace ^*\) \(\rightarrow\) \(\lbrace 0,1\rbrace ^\lambda\) be a cryptographically secure hash function, (\(Gen(\lambda)\), \(Enc(k,m)\), \(Dec(k,m)\)) be a IND-CCA secure symmetric encryption scheme and (\(KeyGen(\lambda)\), \(Sign(sk,m)\), \(Verify(pk,m,\sigma)\)) be a public key cryptosystem based secure digital signature scheme. We assume that at bootstrap, each party generates a key pair \((pk,sk)\) using KeyGen. We use \(\mathcal {L}\) to represent the distributed blockchain ledger and \(\mathcal {\zeta }\) to represent a state channel between two parties.
— Conditional Escrow: Algorithm 3, shows a conditional escrow contract, wherein an entity can lock money(amt), for a duration of time(\(\tau\)). Money(IOU) is releasable before \(\tau\) only on successful evaluation of condition cond.
— State Channel: In Algorithm 4 we provide our state channel algorithm providing open, close and settle semantics. In addition to the one’s in Algorithm 4 our state channel supports the following properties (used in subsequent algorithms), (1) \(\mathcal {\zeta }\).Store and \(\mathcal {\zeta }\).Load:- which is the per party local channel storage where each party can save messages, (2) \(\mathcal {\zeta }\).Send and \(\mathcal {\zeta }\).Recv:- using which one party can send a message to the other party involved in the state channel.
— TEDX Algorithms: We provide the detailed algorithms of TEDX exchange protocol as follows - The algorithms used by \(\mathbb {B}\) and \(\mathbb {F}\) in the exchange phases are, (1) Exchange Agreement step (Xchg.1) in Algorithm 5 (2) Out-of-band Enc. Video Transfer step (Xchg.2) in Algorithm 8 (3) Money-Key Exchange (Xchg.3) in Algorithm 6 and (4) Finalization step (Final.1) in Algorithm 8. The algorithms used in Dispute Resolution step (Settle.2) and Penalization are mentioned in Section 3.

References

[1]
Vijay Kumar Adhikari, Yang Guo, Fang Hao, Matteo Varvello, Volker Hilt, Moritz Steiner, and Zhi-Li Zhang. 2012. Unreeling netflix: Understanding and improving multi-CDN movie delivery. In Proceedings of the IEEE INFOCOM 2012. 1620–1628. DOI:
[2]
Elli Androulaki, Artem Barger, Vita Bortnikov, Christian Cachin, Konstantinos Christidis, Angelo De Caro, David Enyeart, Christopher Ferris, Gennady Laventman, Yacov Manevich, Srinivasan Muralidharan, Chet Murthy, Binh Nguyen, Manish Sethi, Gari Singh, Keith Smith, Alessandro Sorniotti, Chrysoula Stathakopoulou, Marko Vukolic, Sharon Weed Cocco, and Jason Yellick. 2018. Hyperledger fabric: A distributed operating system for permissioned blockchains. In Proceedings of the 13th EuroSys Conference. 30:1–30:15. DOI:
[3]
N. Asokan. 1998. Fairness in Electronic Commerce. PhD Thesis. University of Waterloo, Canada. Retrieved from https://asokan.org/asokan/research/Asokan98.pdf. Accessed February 13, 2023.
[4]
Audius. 2021. Audius. Retrieved fromhttps://audius.co/. Accessed February 13, 2023.
[5]
Prabal Banerjee, Dushyant Behl, Palanivel A. Kodeswaran, Chaitanya Kumar, Sushmita Ruj, and Sayandeep Sen. 2020. Verifiable and auditable digital interchange framework. arXiv:2001.03717. Retrieved from https://arxiv.org/abs/2001.03717.
[6]
Prabal Banerjee, Dushyant Behl, Palanivel A. Kodeswaran, Chaitanya Kumar, Sushmita Ruj, and Sayandeep Sen. 2022. fair-asset-exchange. “Online; https://bitbucket.org/dushyantbehl/fair-asset-exchange/src/main/''. Retrieved from https://bitbucket.org/dushyantbehl/fair-asset-exchange/src/main/. Accessed February 13, 2023.
[7]
Prabal Banerjee, Chander Govindarajan, Praveen Jayachandran, and Sushmita Ruj. 2020. Reliable, fair and decentralized marketplace for content sharing using blockchain. In Proceedings of the 2020 IEEE International Conference on Blockchain.365–370. DOI:
[8]
Prabal Banerjee, Amudhan Muthaiah, and Sushmita Ruj. 2021. Blockchain enabled data trading with user consent. In Proceedings of the 2021 International Conference on COMmunication Systems NETworkS. 263–271. DOI:
[9]
Iddo Bentov and Ranjit Kumaresan. 2014. How to use bitcoin to design fair protocols. In Proceedings of the Advances in Cryptology - CRYPTO 2014-34th Annual Cryptology Conference. 421–439. DOI:
[10]
BitInfoCharts. 2021. Bitinfocharts Block Generation Time. “Online; https://bitinfocharts.com”. Retrieved from https://bit.ly/31SlDYi. Accessed February 13, 2023.
[11]
Zero cash. 2019. Zero Cash. Retrieved from https://www.zerocash-project.org/. Accessed February 13, 2023.
[12]
G. Chander, Pralhad Deshpande, and Sandip Chakraborty. 2019. A fault resilient consensus protocol for large permissioned blockchain networks. In Proceedings of the 2019 IEEE International Conference on Blockchain and Cryptocurrency. 33–37. DOI:
[13]
Arka Rai Choudhuri, Matthew Green, Abhishek Jain, Gabriel Kaptchuk, and Ian Miers. 2017. Fairness in an unfair world: Fair multiparty computation from public bulletin boards. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security. 719–728. DOI:
[14]
Brave New Coin. 2020. Fake Binance Bitcoin giveaway ads running on YouTube. “Online; https://www.bravenewcoin.com/insights/”. Retrieved from http://tiny.cc/i3dnsz. Accessed February 13, 2023.
[15]
CoinGecko. 2021. Coingecko Siacoin Details. Retrieved from https://www.coingecko.com/en/coins/siacoin. Accessed February 13, 2023.
[16]
Jeff Coleman, Liam Horne, and Li Xuanji. 2019. Counterfactual: Generalized State Channels. Retrieved from https://l4.ventures/papers/statechannels.pdf. Accessed February 13, 2023.
[17]
Bleeping Computer. 2019. New Scam Holds YouTube Channels for Ransom. “Online; https://www.bleepingcomputer.com”. Retrieved from https://bit.ly/2XxqT4e. Accessed February 13, 2023.
[18]
Sabrina De Capitani di Vimercati, Sara Foresti, Giovanni Livraga, and Pierangela Samarati. 2019. Empowering owners with control in digital data markets. In Proceedings of the 2019 IEEE 12th International Conference on Cloud Computing. 321–328. DOI:
[19]
Tassos Dimitriou and Ameer Mohammed. 2020. Fair and privacy-respecting bitcoin payments for smart grid data. IEEE Internet of Things Journal 7, 10 (2020), 10401–10417. DOI:
[20]
Ali Dorri, Ambrose Hill, Salil Kanhere, Raja Jurdak, Fengji Luo, and Zhao Yang Dong. 2019. Peer-to-peer EnergyTrade: A distributed private energy trading platform. In Proceedings of the 2019 IEEE International Conference on Blockchain and Cryptocurrency. 61–64. DOI:
[21]
Ali Dorri, Fengji Luo, Samuel Karumba, Salil Kanhere, Raja Jurdak, and Zhao Yang Dong. 2021. Temporary immutability: A removable blockchain solution for prosumer-side energy trading. Journal of Network and Computer Applications 180 (2021), 103018. DOI:
[22]
DTube. 2021. DTube. Retrieved from https://d.tube/. Accessed February 13, 2023.
[23]
Stefan Dziembowski, Lisa Eckey, and Sebastian Faust. 2018. FairSwap: How to fairly exchange digital goods. In Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security. 967–984. DOI:
[24]
Stefan Dziembowski, Lisa Eckey, Sebastian Faust, Julia Hesse, and Kristina Hostáková. 2019. Multi-party virtual state channels. 11476 (2019), 625–656. DOI:
[25]
Stefan Dziembowski, Sebastian Faust, and Kristina Hostáková. 2018. General state channel networks. In Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security. 949–966. DOI:
[26]
Lisa Eckey, Sebastian Faust, and Benjamin Schlosser. 2020. OptiSwap: Fast optimistic fair exchange. In Proceedings of the 15th ACM Asia Conference on Computer and Communications Security.Association for Computing Machinery, New York, NY, 543–557. DOI:
[27]
Ethereum. 2022. Ethereum Scaling. Retrieved from https://ethereum.org/en/developers/docs/scaling/#rollups. Accessed February 13, 2023.
[28]
Forbes. 2020. How E-Commerce’s Explosive Growth Is Attracting Fraud. “Online; https://www.forbes.com/”. Retrieved from http://tiny.cc/4xcnsz. Accessed February 13, 2023.
[29]
Ethereum Foundation. 2021. Ethereum. Retrieved from https://www.ethereum.org/. Accessed February 13, 2023.
[30]
Alex Gluchowski. 2022. Optimistic vs. ZK Rollup: Deep Dive. Retrieved from https://blog.matter-labs.io/optimistic-vs-zk-rollup-deep-dive-ea141e71e075. Accessed February 13, 2023.
[31]
O. Goldreich, S. Micali, and A. Wigderson. 1987. How to play ANY mental game. In Proceedings of the 19th Annual ACM Symposium on Theory of Computing.ACM, New York, NY, 218–229. DOI:
[32]
Google. 2021. Retrieved from Youtube. https://www.youtube.com/. Accessed February 13, 2023.
[33]
CS Ghost Animation Google. 2019. Not getting paid at all? Retrieved from https://support.google.com/youtube/thread/4347574. Accessed February 13, 2023.
[34]
The Guardian. 2014. Apple introduces 14-day return on iTunes, scaring coders and musicians. Retrieved from https://bit.ly/2INFCQv. Accessed February 13, 2023.
[35]
The Guardian. 2018. YouTube’s small creators pay price of policy changes after Logan Paul scandal. “Online; https://www.theguardian.com/”. Retrieved from https://bit.ly/2DmeC5c. Accessed February 13, 2023.
[36]
Lewis Gudgeon, Pedro Moreno-Sanchez, Stefanie Roos, Patrick McCorry, and Arthur Gervais. 2020. SoK: Layer-two blockchain protocols. In Proceedings of the Financial Cryptography and Data Security. Joseph Bonneau and Nadia Heninger (Eds.), Springer International Publishing, Cham, 201–226.
[37]
Pooja Gupta, Volkan Dedeoglu, Kamran Najeebullah, Salil S. Kanhere, and Raja Jurdak. 2020. Energy-aware demand selection and allocation for real-time IoT data trading. In Proceedings of the 2020 IEEE International Conference on Smart Computing.138–147. DOI:
[38]
P. Gupta, S. Kanhere, and R. Jurdak. 2019. A Decentralized IoT Data Marketplace. arXiv:1906.01799. Retrieved from https://arxiv.org/abs/1906.01799.
[39]
Songlin He, Yuan Lu, Qiang Tang, Guiling Wang, and Chase Qishi Wu. 2021. Fair Peer-to-Peer Content Delivery via Blockchain. arXiv:2102.04685. Retrieved from https://arxiv.org/abs/2102.04685.
[40]
Yuguang Hu, M. Irving, Yu Guo, Zhipeng Sun, Yiwen Lu, Shaofan Wang, Cun Ye, Yun Li, and Chao Zhang. 2019. zkPoD: A practical decentralized system for data exchange. Online; https://secbit.io/zkPoD-node/paper.pdf. (2019).
[41]
Weiqi Hua, Jing Jiang, Hongjian Sun, Fei Teng, and Goran Strbac. 2022. Consumer-centric decarbonization framework using stackelberg game and blockchain. Applied Energy 309 (2022), 118384. DOI:
[42]
IBM. 2019. IBM Softlayer Cloud Docs. “Online; IBM Cloud Docs”. Retrieved from https://ibm.co/2J9PXVx.
[43]
Intel. 2021. Intel Software Guard Extensions (SGX). Retrieved from https://software.intel.com/en-us/sgx.
[44]
Samuel Karumba, Salil S. Kanhere, and Raja Jurdak. 2020. A relational network framework for interoperability in distributed energy trading. In Proceedings of the 2020 IEEE International Conference on Blockchain and Cryptocurrency.1–3. DOI:
[45]
Umair Khan, Zhang Yong An, and Azhar Imran. 2020. A blockchain ethereum technology-enabled digital content: Development of trading and sharing economy data. IEEE Access 8 (2020), 217045–217056. DOI:
[46]
Aggelos Kiayias, Hong-Sheng Zhou, and Vassilis Zikas. 2016. Fair and robust multi-party computation using a global transaction ledger. In Proceedings, Part II, of the 35th Annual International Conference on Advances in Cryptology — EUROCRYPT 2016 - Volume 9666. Springer-Verlag New York, Inc., New York, NY, 705–734. DOI:
[47]
Markus Klems, Jacob Eberhardt, Stefan Tai, Steffen Härtlein, Simon Buchholz, and Ahmed Tidjani. 2017. Trustless intermediation in blockchain-based decentralized service marketplaces. In Proceedings of the Service-Oriented Computing - 15th International Conference. 731–739. DOI:
[48]
Ranjit Kumaresan and Iddo Bentov. 2016. Amortizing secure computation with penalties. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security.ACM, New York, NY, 418–429. DOI:
[49]
Ranjit Kumaresan, Vinod Vaikuntanathan, and Prashant Nalini Vasudevan. 2016. Improvements to secure computation with penalties. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security.ACM, New York, NY, 406–417. DOI:
[50]
Livepeer. 2021. Livepeer - Peer to peer video services. Incentivized. Retrieved from https://livepeer.org/.
[51]
Matthias Lohr, Benjamin Schlosser, Jan Jürjens, and Steffen Staab. 2020. Cost fairness for blockchain-based two-party exchange protocols. In Proceedings of the 2020 IEEE International Conference on Blockchain.428–435. DOI:
[52]
Zhaofeng Ma, Ming Jiang, Hongmin Gao, and Zhen Wang. 2018. Blockchain for digital rights management. Future Generation Computer Systems 89 (2018), 746–764. DOI:
[53]
Easwar Vivek Mangipudi, Krutarth Rao, Jeremy Clark, and Aniket Kate. 2018. Automated penalization of data breaches using crypto-augmented smart contracts. IACR Cryptology ePrint Archive 2018 (2018), 1050. Retrieved from https://eprint.iacr.org/2018/1050.
[54]
Lee Marshall. 2015. ‘Let’s keep music special. F-Spotify’: on-demand streaming and the controversy over artist royalties. Creative Industries Journal 8, 2 (2015), 177–189. DOI:
[55]
Patrick McCorry, Surya Bakshi, Iddo Bentov, Sarah Meiklejohn, and Andrew Miller. 2019. Pisa: Arbitration outsourcing for state channels. In Proceedings of the 1st ACM Conference on Advances in Financial Technologies.Association for Computing Machinery, New York, NY, 16–30. DOI:
[56]
Vox Media. 2017. YouTube creators have complained about declines in ad revenue. “Online; https://www.vox.com/”. Retrieved from https://bit.ly/2ZU6TGH. Accessed February 13, 2023.
[57]
Neal Mohan and Robert Kyncl. 2018. Additional Changes to the YouTube Partner Program (YPP) to Better Protect Creators. “Online; https://youtube-creators.googleblog.com”. Retrieved from https://bit.ly/2raNyUQ. Accessed February 13, 2023.
[58]
Satoshi Nakamoto. 2009. Bitcoin: A peer-to-peer electronic cash system,” Retrieved from http://bitcoin.org/bitcoin.pdf.
[59]
Henning Pagnia and Felix C. Gärtner. 1999. On the Impossibility of Fair Exchange Without a Trusted Third Party. Technical Report.
[60]
Roger Pantos and William May. 2017. HTTP live streaming. RFC 8216 (2017), 1–60. DOI:
[61]
PayPal. 2022. PayPal. “Online; https://www.paypal.com/”. Retrieved from https://www.paypal.com/. Accessed February 13, 2023.
[62]
Perun. 2021. Perun Network. Retrieved from https://www.perun.network/. Accessed February 13, 2023.
[63]
Joseph Poon and Thaddeus Dryja. 2016. The bitcoin lightning network: Scalable off-chain instant payments. Retrieved from https://lightning.network/lightning-network-paper.pdf. Accessed February 13, 2023.
[64]
JPMC Quorum. 2021. Quorum - A permissioned implementation of Ethereum supporting data privacy. Retrieved from https://github.com/ConsenSys/quorum. Accessed February 13, 2023.
[65]
Amna Qureshi and David Megías Jiménez. 2021. Blockchain-based multimedia content protection: Review and open challenges. Applied Sciences 11, 1 (2021), 1. DOI:
[66]
R3. 2021. Corda. Retrieved from https://www.corda.net/. Accessed February 13, 2023.
[67]
Michael O. Rabin. 2005. How to exchange secrets with oblivious transfer. IACR Cryptology ePrint Archive 2005 (2005), 187. Retrieved from http://eprint.iacr.org/2005/187.
[68]
Raiden. 2021. Raiden Network. Retrieved from https://raiden.network/. Accessed February 13, 2023.
[69]
Independent News Service. 2020. Bitcoin-crazy rich Indians falling prey to fake crypto wallets. “Online; https://www.indiatvnews.com/technology/”. Retrieved from http://tiny.cc/q3dnsz. Accessed February 13, 2023.
[70]
Cosimo Sguanci, Roberto Spatafora, and Andrea Mario Vergani. 2021. Layer 2 blockchain scaling: A survey. arXiv:2107.10881. Retrieved from https://arxiv.org/abs/2107.10881.
[71]
Henri Sivonen. 2013. ”Encrypted Media Extension: EME-DRM”. Retrieved from https://hsivonen.fi/eme/. Accessed February 13, 2023.
[72]
Hemang Subramanian. 2018. Decentralized blockchain-based electronic marketplaces. Communications of the ACM 61, 1 (2018), 78–84. DOI:
[73]
You Sun, Rui Xue, Rui Zhang, Qianqian Su, and Sheng Gao. 2020. RTChain: A reputation system with transaction and consensus incentives for e-commerce blockchain. ACM Transactions on Internet Technology 21, 1 (2020), 24 pages. DOI:
[74]
Google Play Support. 2019. Money Detected but not Delivered. Retrieved from https://support.google.com/googleplay/thread/2880493?hl=en. Accessed February 13, 2023.
[75]
Widevine Technologies. 2021. WideVine. Retrieved from https://www.widevine.com/. Accessed February 13, 2023.
[76]
Ruben Torres, Alessandro Finamore, Jin Ryong Kim, Marco Mellia, Maurizio M. Munafo, and Sanjay Rao. 2011. Dissecting video server selection strategies in the YouTube CDN. In Proceedings of the 2011 31st International Conference on Distributed Computing Systems.IEEE Computer Society, Washington, DC, 248–257. DOI:
[77]
The Verge. 2019. YouTube CEO addresses top creator issues including copyright claims and trending section. “Online; https://www.theverge.com/”. Retrieved from https://bit.ly/2II3Knt. Accessed February 13, 2023.
[78]
Bitcoin Wiki. 2019. Contract. Retrieved from https://en.bitcoin.it/wiki/Contract. Accessed February 13, 2023.
[79]
Runhua Xu and James Joshi. 2020. Trustworthy and transparent third-party authority. ACM Transactions on Internet Technology 20, 4 (2020), 23 pages. DOI:
[80]
Andrew Chi-Chih Yao. 1986. How to generate and exchange secrets. In Proceedings of the 27th Annual Symposium on Foundations of Computer Science.IEEE Computer Society, Washington, DC, 162–167. DOI:

Recommendations

Comments

Information & Contributors

Information

Published In

cover image Distributed Ledger Technologies: Research and Practice
Distributed Ledger Technologies: Research and Practice  Volume 2, Issue 3
September 2023
197 pages
EISSN:2769-6480
DOI:10.1145/3624969
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 18 September 2023
Online AM: 12 May 2023
Accepted: 30 March 2023
Revised: 13 February 2023
Received: 13 April 2022
Published in DLT Volume 2, Issue 3

Check for updates

Author Tags

  1. Blockchain
  2. fair exchange
  3. digital marketplace
  4. decentralized marketplace with mediator
  5. state channel

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 585
    Total Downloads
  • Downloads (Last 12 months)200
  • Downloads (Last 6 weeks)12
Reflects downloads up to 05 Mar 2025

Other Metrics

Citations

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Full Text

View this article in Full Text.

Full Text

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media