Abstract
Modern blockchains allow the definition of smart contracts (SCs). An SC is a computer protocol designed to digitally ease, verify, or enforce the terms of agreement between users. SCs execution can require high fees when lots of computation is required or a high volume of data is stored. This is usually the case of Internet-of-Things (IoT) systems where a large amount of devices can produce a high volume of data. Off-chain contract execution is a viable solution to decrease the blockchain fees. Users can agree on an on-chain SC which is stored in the main chain. Computation can then be moved securely outside the chain to reduce fees. In this paper we propose DIVERSITY a novel approach that allows off-chain execution of SCs. DIVERSITY provides a novel model for defining on-chain contracts that can be securely executed by using a novel off-chain protocol. We have validate our approach on a novel IoT case study where fees have been greatly reduced.
This paper has been supported by the italian national project industry 4.0.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
We denote with OCM the amount opening and closing in a month.
References
Apache flink (2020). https://flink.apache.org/
Hyperledger besu (2020). https://besu.hyperledger.org/en/stable/
Cheng, R., Zhang, F., Kos, J., He, W., Hynes, N., Johnson, N., Juels, A., Miller, A., Song, D.: Ekiden: a platform for confidentiality-preserving, trustworthy, and performant smart contracts. In: 2019 IEEE European Symposium on Security and Privacy (EuroS P), pp. 185–200 (2019)
Dennis, R., Owenson, G., Aziz, B.: A temporal blockchain: a formal analysis. In: 2016 International Conference on Collaboration Technologies and Systems (CTS), pp. 430–437 (2016)
Dittmann, G., Jelitto, J.: A blockchain proxy for lightweight IoT devices. In: 2019 Crypto Valley Conference on Blockchain Technology (CVCBT), pp. 82–85 (2019)
Eberhardt , J., Heiss, J.: Off-chaining models and approaches to off-chain computations. In: Proceedings of the 2nd Workshop on Scalable and Resilient Infrastructures for Distributed Ledgers, SERIAL 2018, pp. 7–12. Association for Computing Machinery, New York (2018)
Eberhardt, J., Tai, S.: On or off the blockchain? Insights on off-chaining computation and data. In: De Paoli, F., Schulte, S., Broch Johnsen, E. (eds.) Service-Oriented and Cloud Computing, pp. 3–15. Springer International Publishing, Cham (2017)
Ellul, J., Pace, G.J., Alkylvm: a virtual machine for smart contract blockchain connected Internet of Things. In: 2018 9th IFIP International Conference on New Technologies, Mobility and Security (NTMS), pp. 1–4 (2018)
Gennaro, R., Gentry, C., Parno, B., Raykova, M.: Quadratic span programs and succinct NIZKs without PCPs. In: Johansson, T., Nguyen, P.Q. (eds.) Advances in Cryptology – EUROCRYPT 2013, pp. 626–645. Springer, Berlin, Heidelberg (2013)
Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system. Technical report, Manubot (2019)
Peker, Y.K., Rodriguez, X., Ericsson, J., Lee, S.J., Perez, A.J.: A cost analysis of internet of things sensor data storage on blockchain via smart contracts. Electronics 9(2), 244 (2020)
Poon, J., Buterin, V.: Plasma: Scalable autonomous smart contracts. White paper, pp. 1–47 (2017)
Poon, J., Dryja, T.: The bitcoin lightning network: scalable off-chain instant payments (2016)
Salimitari, M., Chatterjee, M.: A survey on consensus protocols in blockchain for IoT networks, arxiv, 1809.05613 (2019)
Shahid, A.R., Pissinou, N., Staier, C., Kwan, R.: Sensor-chain: a lightweight scalable blockchain framework for Internet of Things. In: 2019 International Conference on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData), pp. 1154–1161 (2019)
Trón, V., Fischer, A., Nagy, D.A., Felföldi, Z., Johnson, N.: Swap, swear and swindle - incentive system for swarm (2016). https://ethersphere.github.io/swarm-home/ethersphere/orange-papers/1/sw%5E3.pdf
Wood, G., et al.: Ethereum: A secure decentralised generalised transaction ledger. In: Ethereum Project Yellow Paper, vol. 151, pp. 1–32 (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Cacciagrano, D., Corradini, F., Mazzante, G., Mostarda, L., Sestili, D. (2021). Off-Chain Execution of IoT Smart Contracts. In: Barolli, L., Woungang, I., Enokido, T. (eds) Advanced Information Networking and Applications. AINA 2021. Lecture Notes in Networks and Systems, vol 226. Springer, Cham. https://doi.org/10.1007/978-3-030-75075-6_50
Download citation
DOI: https://doi.org/10.1007/978-3-030-75075-6_50
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-75074-9
Online ISBN: 978-3-030-75075-6
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)