Embedding Smart Contract in Blockchain Transactions to Improve Flexibility for the IoT
【Author】 Su, Hong; Guo, Bing; Shen, Yan; Suo, Xinhua
【Source】IEEE INTERNET OF THINGS JOURNAL
【影响因子】10.238
【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.
【Keywords】Smart contracts; Internet of Things; Codes; Object oriented modeling; Costs; Blockchains; Virtual machining; Embedded smart contract; Internet of Things (IoT); predeployment; smart contract
【发表时间】2022 OCT 1
【收录时间】2022-10-05
【文献类型】理论模型
【主题类别】
区块链技术-核心技术-智能合约
command
文章提出一种将智能合约及其数据嵌入到同一交易中的方法,可以消除单独部署智能合约的需求,节省成本,并等待预部署
回复