Abstract

Blockchain is a developing technology that can be utilized for secure data storage and sharing. In this work, we examine the cost of Blockchain-based data storage for constrained Internet of Things (IoT) devices. We had two phases in the study. In the first phase, we stored data retrieved from a temperature/humidity sensor connected to an Ethereum testnet blockchain using smart contracts in two different ways: first, appending the new data to the existing data, storing all sensor data; and second, overwriting the new data onto the existing data, storing only a recent portion of the data. In the second phase, we stored simulated data from several sensors on the blockchain assuming sensor data is numeric. We proposed a method for encoding the data from the sensors in one variable and compared the costs of storing the data in an array versus storing the encoded data from all sensors in one variable. We also compared the costs of carrying out the encoding within the smart contract versus outside the smart contract. In the first phase, our results indicate that overwriting data points is more cost-efficient than appending them. In the second phase, using the proposed encoding method to store the data from several sensors costs significantly less than storing the data in an array, if the encoding is done outside the smart contract. If the encoding is carried out in the smart contract, the cost is still less than storing the data in an array, however, the difference is not significant. The study shows that even though expensive, for applications where the integrity and transparency of data are crucial, storing IoT sensor data on Ethereum could be a reliable solution.

Highlights

  • Blockchain technology is revolutionizing the way we store, share, and interact with data

  • Ethereum testnet blockchain via smart contracts and we examine the monetary cost of this operation under two different storage options: (1) appending the new data to the end of the existing data, storing all data; (2) overwriting on the existing data, storing a most recent portion of the data

  • Utilizing blockchain technology for challenges in Internet of Things (IoT) is an active area of research

Read more

Summary

Introduction

Blockchain technology is revolutionizing the way we store, share, and interact with data. It provides various essential services for data storage including immutability, transparency, decentralization, and fault tolerance without the need of a central authority. Developed by Satoshi Nakamoto as a trusted, distributed ledger system for the Bitcoin cryptocurrency [1], blockchain technology is currently being researched in areas such as healthcare, education, smart cities, financial services, logistics and supply chain, provenance, electronic voting, among other applications. In the realm of Internet of Things (IoT) systems, the use of blockchain is currently researched under various aspects including decentralized architectures, authentication, autonomy, security, and marketplaces [2]. No rigorous study of the monetary cost to store IoT sensor data has been published to date

Methods
Results
Discussion
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call