On the specification and verification of atomic swap smart contracts

11/14/2018
by   Ron van der Meyden, et al.
0

Blockchain systems and smart contracts provide ways to securely implement multi-party transactions without the use of trusted intermediaries, which currently underpin many commercial transactions. However, they do so by transferring trust to computer systems, raising the question of whether code can be trusted. Experience with high value losses resulting from incorrect code has already shown that formal verification of smart contracts is likely to be beneficial. This note investigates the specification and verification of a simple form of multi-party transaction, atomic swaps. It is argued that logics with the ability to express properties of strategies of players in a multi-agent setting are conceptually useful for this purpose, although ultimately, for our specific examples, the less expressive setting of temporal logic suffices for verification of concrete implementations. This is illustrated through a number of examples of the use of a model checker to verify atomic swap smart contracts in on-chain and cross-chain settings.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/20/2018

Formal Specification and Verification of Smart Contracts for Azure Blockchain

In this paper, we describe the formal verification of Smart Contracts of...
research
07/06/2022

Transaction Monitoring of Smart Contracts

Blockchains are modern distributed systems that provide decentralized fi...
research
05/04/2020

Formal Verification of Solidity contracts in Event-B

Smart contracts are the artifact of the blockchain that provide immutabl...
research
12/03/2022

Secrecy-Verifiability Paradox in Smart Contracts

The trade-off of secrecy is the difficulty of verification. This trade-o...
research
05/15/2020

Blockchain Architecture forAuditing Automation and TrustBuilding in Public Markets

Business transactions by public firms are required to be reported, verif...
research
09/20/2021

Money grows on (proof-)trees: the formal FA1.2 ledger standard

Once you have invented digital money, you may need a ledger to track who...
research
06/02/2023

Proxy Re-encryption based Fair Trade Protocol for Digital Goods Transactions via Smart Contracts

With the massive amount of digital data generated everyday, transactions...

Please sign up or login with your details

Forgot password? Click here to reset