Implementation of Distributed File Storage and Access Framework using IPFS and Blockchain

Many critical applications are designed on the distributed structure using the blockchain technology to ensure the availability, immutability, and security. However, these applications are facing the storage problem owing to the data volume growth of transaction. The number of transactions and its size in a block is growing in the blockchain day by day because of the feature of immutability and append-only. The growing nature of transactions in a block is not only making the problem for storage but also in access to the block transactions. In this paper, we propose an IPFS based blockchain storage model to solve the storage problem of transaction in a block along with access of transaction of a particular block. In the propose storage model, the miners stores transaction on IPFS distributed file system storage and get the returned IPFS hash of transaction into the block of the blockchain. The feature of the IPFS network and its resultant hash reduce the size of transactions in a block. To secure access of transaction for a particular block content-addressed (IPFS hash) storage technique has been proposed. We have applied this scheme on a transaction which includes image storage on IPFS and hash storage into the blockchain. In this paper, we have also proposed the content-addressed technique in contrast to the location addressed for the access of transaction. To implement the framework we have used anaconda python, python flask, and IPFS.

[1]  E. Giangreco,et al.  Make Users Own Their Data: A Decentralized Personal Data Store Prototype Based on Ethereum and IPFS , 2018, 2018 3rd International Conference on Smart and Sustainable Technologies (SpliTech).

[2]  Satoshi Nakamoto Bitcoin : A Peer-to-Peer Electronic Cash System , 2009 .

[3]  Aashaka Shah,et al.  Empowering Light Nodes in Blockchains with Block Summarization , 2018, 2018 9th IFIP International Conference on New Technologies, Mobility and Security (NTMS).

[4]  Sachin Shetty,et al.  Security Implications of Blockchain Cloud with Analysis of Block Withholding Attack , 2017, 2017 17th IEEE/ACM International Symposium on Cluster, Cloud and Grid Computing (CCGRID).

[5]  Shi Jin,et al.  A Low Storage Room Requirement Framework for Distributed Ledger in Blockchain , 2018, IEEE Access.

[6]  Zibin Zheng,et al.  An Overview of Blockchain Technology: Architecture, Consensus, and Future Trends , 2017, 2017 IEEE International Congress on Big Data (BigData Congress).

[7]  Yi Li,et al.  Performance Analysis of Consensus Algorithm in Private Blockchain , 2018, 2018 IEEE Intelligent Vehicles Symposium (IV).

[8]  Salil S. Kanhere,et al.  Towards an Optimized BlockChain for IoT , 2017, 2017 IEEE/ACM Second International Conference on Internet-of-Things Design and Implementation (IoTDI).

[9]  Yi Li,et al.  An Innovative IPFS-Based Storage Model for Blockchain , 2018, 2018 IEEE/WIC/ACM International Conference on Web Intelligence (WI).

[10]  Ashwani Kumar,et al.  A Comparison of Buyer-Seller Watermarking Protocol (BSWP) Based on Discrete Cosine Transform (DCT) and Discrete Wavelet Transform (DWT) , 2015 .

[11]  Ashwani Kumar,et al.  Modified Buyer Seller Watermarking Protocol based on Discrete Wavelet Transform and Principal Component Analysis , 2016 .

[12]  Juan Benet,et al.  IPFS - Content Addressed, Versioned, P2P File System , 2014, ArXiv.

[13]  Jeremy Clark,et al.  SoK: Research Perspectives and Challenges for Bitcoin and Cryptocurrencies , 2015, 2015 IEEE Symposium on Security and Privacy.