Smart contracts can be used for the fair exchange of digital goods. A smart contract can escrow the exchange where the receiver deposits the payment, and the sender claims it by providing the goods. In the case of misbehavior, the parties provide proof on whether the received goods match the pre-agreed description or not. In general, the description is assumed to be the hash of the goods, and it is publicly known. However, without trusting the description provided by the sender, this assumption is not plausible for the scenarios where the goods are uniquely created for a specific receiver. To overcome the trust issue, sampling-based exchange protocols have been introduced where the parties use a sample of the goods as the description. Yet, the existing sampling-based proposals suffer from high on- and off-chain computational and storage costs. In this paper, we present FairDEx: an efficient sampling-based protocol that is suitable for the exchange of unique goods. Our description protocol allows us to achieve low on- and off-chain costs, which are independent of the size of the goods. The off-chain part of the protocol only utilizes highly efficient algorithms, namely hashing and symmetric key encryption. To illustrate the feasibility of FairDEx, we evaluate a research prototype on the Ethereum test network. Our results show that the cost of running FairDEx is around 0.6M gas for reasonably large sample sets, which is 30% cheaper than the state-of-the-art Ethereum-based proposals.

Practical exchange for unique digital goods

Conti M.
2021

Abstract

Smart contracts can be used for the fair exchange of digital goods. A smart contract can escrow the exchange where the receiver deposits the payment, and the sender claims it by providing the goods. In the case of misbehavior, the parties provide proof on whether the received goods match the pre-agreed description or not. In general, the description is assumed to be the hash of the goods, and it is publicly known. However, without trusting the description provided by the sender, this assumption is not plausible for the scenarios where the goods are uniquely created for a specific receiver. To overcome the trust issue, sampling-based exchange protocols have been introduced where the parties use a sample of the goods as the description. Yet, the existing sampling-based proposals suffer from high on- and off-chain computational and storage costs. In this paper, we present FairDEx: an efficient sampling-based protocol that is suitable for the exchange of unique goods. Our description protocol allows us to achieve low on- and off-chain costs, which are independent of the size of the goods. The off-chain part of the protocol only utilizes highly efficient algorithms, namely hashing and symmetric key encryption. To illustrate the feasibility of FairDEx, we evaluate a research prototype on the Ethereum test network. Our results show that the cost of running FairDEx is around 0.6M gas for reasonably large sample sets, which is 30% cheaper than the state-of-the-art Ethereum-based proposals.
2021
Proceedings - 3rd IEEE International Conference on Decentralized Applications and Infrastructures, DAPPS 2021
3rd IEEE International Conference on Decentralized Applications and Infrastructures, DAPPS 2021
978-1-6654-3485-0
File in questo prodotto:
Non ci sono file associati a questo prodotto.
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11577/3511135
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? 0
  • OpenAlex ND
social impact