Please be advised that DalSpace will be unavailable from June 19 to July 7 for a system migration and upgrade. Graduate students who are required to submit their thesis during this period are asked to contact thesis.review@dal.ca, for instructions on how to proceed. For all other submissions, please return on July 7 to upload your material. Starting on July 7, the new URL for DalSpace will be dal.scholaris.ca . Thank you for your patience.
Repository logo

FSM Modeling of Off-Blockchain Computation

Loading...
Thumbnail Image

Authors

Liu, Christian Gang

Journal Title

Journal ISSN

Volume Title

Publisher

Abstract

Blockchain benefits are due to immutability, replication, and storage-and-execution of smart contracts on the blockchain. However, the benefits come at increased costs due to the blockchain size and execution. We address three fundamental issues that arise in transferring certain parts of a smart contract to be executed off-chain: (i) identifying which parts (patterns) of the smart contract should be considered for processing off-chain, (ii) under which conditions should a smart-contract pattern to be processed off-chain, and (iii) how to facilitate interaction between the computation off and on-chain. We use separation of concerns and FSM modeling to model a smart contract and generate its code. We then (i) use our algorithm to determine which parts (patterns) of the smart contract are to be processed off-chain; (ii) consider conditions under which to move the pattern off-chain; and (iii) provide model for automatically generating the interface between on and off-chain computation.

Description

Keywords

FSM, HSM, EVM, IPFS

Citation