[Paper Review] Towards Fairness of Cryptocurrency Payments
This paper proposes two blockchain-based fair exchange protocols for cryptocurrency payments that ensure strong timeliness and fairness by leveraging smart contracts and verifiable encryption. The protocol using optimistic fair exchange (OFE) achieves 14x faster completion (277ms vs. 3.8s) than the signature-based alternative, making it more efficient for resource-constrained environments while maintaining strong fairness and non-invasiveness.
Motivated by the great success and adoption of Bitcoin, a number of cryptocurrencies such as Litecoin, Dogecoin, and Ethereum are becoming increasingly popular. Although existing blockchain-based cryptocurrency schemes can ensure reasonable security for transactions, they do not consider any notion of fairness. Fair exchange allows two players to exchange digital "items", such as digital signatures, over insecure networks fairly, so that either each player gets the other's item, or neither player does. Given that blockchain participants typically do not trust each other, enabling fairness in existing cryptocurrencies is an essential but insufficiently explored problem. In this paper, we explore the solution space for enabling the fair exchange of a cryptocurrency payment for a receipt. We identify the timeliness of an exchange as an important property especially when one of the parties involved in the exchange is resource-constrained. We introduce the notion of strong timeliness for a fair exchange protocol and propose two fair payment-for-receipt protocol instantiations that leverage functionality of the blockchain to achieve strong timeliness. We implement both and compare their security and efficiency.
Motivation & Objective
- To address the lack of fairness in existing cryptocurrency systems, where either party may be left without compensation in a payment-for-receipt exchange.
- To introduce the notion of strong timeliness, ensuring exchanges complete promptly, especially for resource-constrained devices.
- To design and implement two fair payment-for-receipt protocols using blockchain functionality that guarantee fairness and strong timeliness.
- To evaluate and compare the performance, efficiency, and cost of the proposed protocols against prior work, particularly Heilman et al.'s approach.
- To explore trade-offs between fairness, timeliness, non-invasiveness, and TTP reliance in blockchain-based fair exchange.
Proposed method
- The paper introduces a new notion of strong timeliness, requiring exchanges to complete within a predictable, short time window, especially critical for IoT and resource-constrained devices.
- Two protocols are proposed: one based on optimistic fair exchange (OFE) with verifiable encryption, and another using blockchain-based digital signatures for receipt verification.
- Both protocols use smart contracts on Ethereum to enforce fairness, with the TTP (trusted third party) only invoked in case of disputes.
- The OFE-based protocol uses verifiable encryption to allow the TTP to resolve disputes without revealing the receipt content, enhancing privacy.
- Performance evaluation is conducted on a private Ethereum network with block times tuned to 5 seconds, measuring execution times and transaction costs for each protocol phase.
- The protocols are compared against a fixed-timeout scheme and Heilman et al.'s protocol in terms of fairness, timeliness, cost, and non-invasiveness.
Experimental results
Research questions
- RQ1Can blockchain-based protocols achieve strong timeliness in fair exchange for cryptocurrency payments, especially under resource constraints?
- RQ2How do the performance and cost of blockchain-based fair exchange protocols compare to prior approaches, particularly in optimistic vs. abort scenarios?
- RQ3What trade-offs exist between fairness, timeliness, non-invasiveness, and reliance on a trusted third party (TTP) in cryptocurrency payment protocols?
- RQ4Can verifiable encryption be used effectively in smart contracts to preserve privacy while ensuring fairness and strong timeliness?
- RQ5Is the blockchain-based OFE protocol more efficient than the signature-based protocol in real-world deployment scenarios?
Key findings
- The blockchain-based OFE protocol completes in 277.0 ± 9.2 milliseconds on average, which is approximately 14 times faster than the signature-based protocol (3,831.0 ± 973.2 milliseconds).
- The OFE-based protocol achieves strong fairness and strong timeliness, while the fixed-timeout scheme only provides weak fairness and weak timeliness.
- In the abort scenario, both protocols incur similar time and cost overhead, with the OFE protocol requiring 3,432.4 ± 1,000.3 ms and the signature-based protocol 4,301.5 ± 1,305.6 ms.
- The OFE-based protocol is more cost- and time-effective than the signature-based protocol in optimistic execution, making it ideal for scenarios requiring low latency and high efficiency.
- The protocol relying on blockchain-based signatures is more suitable when strong fairness and privacy preservation are prioritized, even at the cost of higher latency.
- The study confirms that non-invasiveness is achievable only in the OFE-based protocol, while the signature-based protocol requires modifications to the blockchain, making it invasive.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.