TinyEVM: Off-Chain Smart Contracts on Low-Power IoT Devices
Paper in proceeding, 2020
Blockchains are promising technologies suitable for solving some of these challenges.
Particularly, permissionless blockchains such as Ethereum and Bitcoin have drawn the attention of the research community.
However, the increasingly large-scale deployments of blockchain reveal some of their scalability limitations. Prominent proposals to scale the payment system include off-chain protocols such as payment channels. However, the leading proposals assume powerful nodes with an always-on connection and frequent synchronization. These assumptions require in practice significant communication, memory, and computation capacity, whereas IoT devices face substantial constraints in these areas. Existing approaches also do not capture the logic and process of IoT, where applications need to process locally collected sensor data to allow for full use of IoT micro-payments.
In this paper, we present TinyEVM, a novel system to generate and execute off-chain smart contracts based on sensor data.
TinyEVM's goal is to enable IoT devices to perform micro-payments and, at the same time, address the device constraints.
We investigate the trade-offs of executing smart contracts on low-power IoT devices using TinyEVM.
We test our system with 7,000 publicly verified smart contracts, where TinyEVM achieves to deploy 93 % of them without any modification.
Finally, we evaluate the execution of off-chain smart contracts in terms of run-time performance, energy, and memory requirements on IoT devices.
Notably, we find that low-power devices can deploy a smart contract in 215 ms on average, and they can complete an off-chain payment in 584 ms on average.
Ethereum
Smart Contracts
Internet of Things
Blockchain
Payment Channels
Off-chain
Author
Christos Profentzas
Chalmers, Computer Science and Engineering (Chalmers), Networks and Systems (Chalmers)
Magnus Almgren
Chalmers, Computer Science and Engineering (Chalmers), Networks and Systems (Chalmers)
Olaf Landsiedel
Chalmers, Computer Science and Engineering (Chalmers), Networks and Systems (Chalmers)
University of Kiel
Proceedings - International Conference on Distributed Computing Systems
Vol. 2020-November 507-518 9355720
978-1-7281-7003-9 (ISBN)
Singapore, Singapore,
KIDSAM: Knowledge and information-sharing in digital collaborative projects
VINNOVA (2018-03966), 2018-11-01 -- 2021-11-30.
AgreeOnIT: Lightweight Consensus and Distributed Computing in the Resource-Constrained Internet of Things
Swedish Research Council (VR) (37200024), 2019-01-01 -- 2022-12-31.
RIOT: Resilient Internet of Things
Swedish Civil Contingencies Agency (MSB2018-12526), 2019-01-01 -- 2023-12-31.
Areas of Advance
Information and Communication Technology
Subject Categories
Embedded Systems
Computer Systems
DOI
10.1109/ICDCS47774.2020.00025
Related datasets
TinyEVM: Off-Chain Smart Contracts on Low-Power IoT [dataset]