Scalable UTXO Smart Contracts via Fine-Grained Distributed State

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Bartoletti, Massimo, Marchesin, Riccardo, Zunino, Roberto
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866917237233811456
author Bartoletti, Massimo
Marchesin, Riccardo
Zunino, Roberto
author_facet Bartoletti, Massimo
Marchesin, Riccardo
Zunino, Roberto
contents UTXO-based smart contract platforms face an efficiency bottleneck, in that any transaction sent to a contract must specify the entire updated contract state. This requirement becomes particularly burdensome when the contract state contains dynamic data structures, as needed in many use cases to track interactions between users and the contract. The problem is twofold: on the one hand, a large state in transactions implies a large transaction fee; on the other hand, a large centralized state is detrimental to the parallelization of transactions - a feature that is often cited as a key advantage of UTXO-based blockchains over account-based ones. We propose a technique to efficiently execute smart contracts on an extended UTXO blockchain, which allows the contract state to be distributed across multiple UTXOs. In this way, transactions only need to specify the part of the state they need to access, reducing their size (and fees). We show how to exploit our model to parallelize the validation of transactions on multi-core CPUs. We implement our technique and provide an empirical validation of its effectiveness.
format Preprint
id arxiv_https___arxiv_org_abs_2406_07700
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Scalable UTXO Smart Contracts via Fine-Grained Distributed State
Bartoletti, Massimo
Marchesin, Riccardo
Zunino, Roberto
Cryptography and Security
UTXO-based smart contract platforms face an efficiency bottleneck, in that any transaction sent to a contract must specify the entire updated contract state. This requirement becomes particularly burdensome when the contract state contains dynamic data structures, as needed in many use cases to track interactions between users and the contract. The problem is twofold: on the one hand, a large state in transactions implies a large transaction fee; on the other hand, a large centralized state is detrimental to the parallelization of transactions - a feature that is often cited as a key advantage of UTXO-based blockchains over account-based ones. We propose a technique to efficiently execute smart contracts on an extended UTXO blockchain, which allows the contract state to be distributed across multiple UTXOs. In this way, transactions only need to specify the part of the state they need to access, reducing their size (and fees). We show how to exploit our model to parallelize the validation of transactions on multi-core CPUs. We implement our technique and provide an empirical validation of its effectiveness.
title Scalable UTXO Smart Contracts via Fine-Grained Distributed State
topic Cryptography and Security
url https://arxiv.org/abs/2406.07700