Secure compilation of rich smart contracts on poor UTXO blockchains

05/16/2023
by   Massimo Bartoletti, et al.
0

Most blockchain platforms from Ethereum onwards render smart contracts as stateful reactive objects that update their state and transfer crypto-assets in response to transactions. In this way, they support the development of contracts in the imperative procedural paradigm, familiar to most programmers. A drawback of this design choice is that when a user submits a transaction, they cannot predict in which state it will be executed, exposing them to transaction-ordering attacks. The UTXO model is an alternative blockchain design that thwarts these attacks by requiring new transactions to spend past ones: since transactions have unique identifiers, reordering attacks are ineffective. Currently, the blockchains following the UTXO model either provide contracts with limited expressiveness (Bitcoin), or require complex run-time environments and unfamiliar programming abstractions (Cardano). We present a framework for smart contracts in the UTXO model, that allows expressive contracts to be securely executed by bare-bone UTXO blockchains with loop-free scripts enriched with covenants, and supports the familiar procedural programming style.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/13/2023

DeFi and NFTs Hinder Blockchain Scalability

Many classical blockchains are known to have an embarrassingly low trans...
research
07/06/2022

Transaction Monitoring of Smart Contracts

Blockchains are modern distributed systems that provide decentralized fi...
research
10/04/2018

COMIT - Cryptographically-secure Off-chain Multi-asset Instant Transaction Network

Since the creation of Bitcoin in 2009 we have seen a great push towards ...
research
09/30/2021

A formal model for ledger management systems based on contracts and temporal logic

A key component of blockchain technology is the ledger, viz., a database...
research
02/09/2023

Fee-Redistribution Smart Contracts for Transaction-Fee-Based Regime of Blockchains with the Longest Chain Rule

In this paper, we review the undercutting attacks in the transaction-fee...
research
02/04/2023

A theoretical basis for Blockchain Extractable Value

Extractable Value refers to a wide class of economic attacks to public b...
research
09/08/2019

Obsidian: Typestate and Assets for Safer Blockchain Programming

Blockchain platforms are coming into broad use for processing critical t...

Please sign up or login with your details

Forgot password? Click here to reset