MEMORY ANALYSIS FOR IPFS IMPLEMENTATION ON ETHEREUM SMART CONTRACT

Tiara Sabrina, Adityas Widjajarto, Avon Budiyono

Abstract


Abstract. Smart contract is an agreement between two entities established in the program code. All Smart contract transactions are stored on the Blockchain. But storing large data on the Blockchain is expensive, so many developers are currently creating a DApp (Decentralized Application) that integrates IPFS on smart contract Ethereum. Files will be stored on IPFS while the Blockchain only stores hash files from IPFS to access them again. Blockchain & IPFS are distributed peer-to-peer technologies for storing and distributing digital data supported by the confidentiality, integrity and authenticity of the data. The study was conducted to measure memory usage to run the DApp web that integrates IPFS on smart contract Ethereum and find out the effect of the file size uploaded via the web DApp and the number of nodes connected in the network. The memory usage test results will be used as a standard for the memory capacity planning to implement a DApp web system that integrates IPFS on smart contract Ethereum in an organization. Based on the research result, to run a web DApp that integrates IPFS on a smart contract requires 774MB of memory. The result proves that IPFS is suitable for handling large files. The efficiency of DApp's web performance that integrates IPFS on the smart contract Ethereum are obtained by a small file size and a large number of nodes connected in a network. The smaller the file size, the less memory usage. The more nodes that are connected in the network, the less memory usage.

Keywords: Decentralized Application, IPFS, Smart Contract Ethereum, Blockchain, Memory Usage.


Full Text:

PDF

References


Atzei N., Bartoletti M., & Cimoli, T. (2017) : A Survey of Attacks on Ethereum Smart contracts.

International Conference on Principles of Security and Trust hal. 164-186.

Bennet, J. (2014) : IPFS - Content Addressed, Versioned, P2P File System(DRAFT 3). ArXiv.

Bryant, R.E & O’Hallaron, D.R. (2013) : Computer Systems: A ProgRAMmer’s Perspective, Second Edition. United States of America : Pearson.

Chen, Yongle, dkk. (2017) : An Improved P2P File System Scheme based on IPFS and Blockchain.

IEEE International Conference on Big Data.

Dannen, C. (2017) : Introducing Ethereum and Solidity:Foundations of Cryptocurrency and Blockchain ProgRAMming for Beginners. New York : Apress.

Grech, A. dan Camilleri, A. F. (2017) : Blockchain in Education. In Inamorato dos Santos, A. (ed.) EUR 28778 EN; doi:10.2760/60649.

Kenneth, H. (2018) : Ethereum Test Network , https://medium.com/coinmonks/ ethereum-test-

network-21baa86072fa, Accessed 17 June 2019.

Parizi, dkk. (2018) : Empirical Vulnerability Analysis of Automated Smart contracts Security Testing on Blockchains. Centre for Advanced Studies Conference.

Port, T., (2019) : Centralized vs Decentralized vs Distributed Networks + Blockchain, Accessed 24 June 2019.

Rajalakshmi, A., dkk. (2018) : A Blockchain and IPFS based Framework for Secure Research Record Keeping. International Journal of Pure and Applied Mathematics ,119,1437-1442.

Sinha, P. dan Kaul, A. (2018) : Decentralized KYC System. International Research Journal of Engineering and Technology (IRJET), 5(8), 1209-1210.

Wang, S., dkk. (2018): A Blockchain-Based Framework for Data Sharing with Fine-grained Access Control in Decentralized Storage Systems. IEEE Access, 4, 1-5.

Wennergen, O., dkk. (2018) : Tranparency Analysis Of Distributed File System With a Focus on Interplanetary File System. Swedia: University of Skovde.

Zheng, Z., dkk. (2017) : An Overview of Blockchain Technology Architecture, Consesus and Future Trends, IEEE 6th International Congress on Big Data.


Refbacks

  • There are currently no refbacks.