Litcius/Paper detail

Embedding Smart Contract in Blockchain Transactions to Improve Flexibility for the IoT

Hong Su, Bing Guo, Yan Shen, Xinhua Suo

2022IEEE Internet of Things Journal19 citationsDOI

Abstract

In recent years, the blockchain technology has been widely used in the Internet of Things (IoT). One of the major concerns is how to adopt a smart contract to process data from IoT devices flexibly. While plenty of smart contract-based methods can be used, smart contracts are required to be deployed previously. This requires an additional step (to deploy a smart contract) and makes a smart contract separate from its data (transactions to trigger its interface), which generates limitations in IoT scenarios. In this article, we developed an approach to embed the smart contract and its data into the same transaction, eliminating the need for a predeployment step. Data is employed as parameters to invoke the interface of a smart contract, and the smart contract is used to process the data inside the transaction. With this method, a smart contract does not need other transactions from the user. Results indicate that the proposed method can eliminate the requirement of a separately deployed smart contract, saving costs, and waiting time for the predeployment.

Topics & Concepts

Smart contractComputer scienceDatabase transactionBlockchainComputer securityFlexibility (engineering)Internet of ThingsInterface (matter)Process (computing)Smart deviceDatabaseOperating systemMaximum bubble pressure methodMathematicsBubbleStatisticsBlockchain Technology Applications and SecurityFinTech, Crowdfunding, Digital Finance