Skip to main content

Off-Chain Execution of IoT Smart Contracts

  • Conference paper
  • First Online:
Advanced Information Networking and Applications (AINA 2021)

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    We denote with OCM the amount opening and closing in a month.

References

  1. Apache flink (2020). https://flink.apache.org/

  2. Hyperledger besu (2020). https://besu.hyperledger.org/en/stable/

  3. 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)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. Dittmann, G., Jelitto, J.: A blockchain proxy for lightweight IoT devices. In: 2019 Crypto Valley Conference on Blockchain Technology (CVCBT), pp. 82–85 (2019)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. Nakamoto, S.: Bitcoin: a peer-to-peer electronic cash system. Technical report, Manubot (2019)

    Google Scholar 

  11. 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)

    Article  Google Scholar 

  12. Poon, J., Buterin, V.: Plasma: Scalable autonomous smart contracts. White paper, pp. 1–47 (2017)

    Google Scholar 

  13. Poon, J., Dryja, T.: The bitcoin lightning network: scalable off-chain instant payments (2016)

    Google Scholar 

  14. Salimitari, M., Chatterjee, M.: A survey on consensus protocols in blockchain for IoT networks, arxiv, 1809.05613 (2019)

    Google Scholar 

  15. 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)

    Google Scholar 

  16. 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

  17. Wood, G., et al.: Ethereum: A secure decentralised generalised transaction ledger. In: Ethereum Project Yellow Paper, vol. 151, pp. 1–32 (2014)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Leonardo Mostarda .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics