Prototype of Implementation of Smart Contract for Blockchain-Based Document Storage

Authors

  • Annes Maria Pangidoan Teknologi Informasi, Universitas Udayana
  • Putu Wira Buana Teknologi Informasi, Universitas Udayana
  • Fajar Purnama Teknologi Informasi, Universitas Udayana

DOI:

https://doi.org/10.30871/jaic.v9i4.9493

Keywords:

Blockchain, Smart Contract, IPFS, Document Storage

Abstract

Data, including digital and physical documents, is a valuable asset often vulnerable to forgery, theft, and reliance on centralized servers, which are costly and prone to failure. This study develops a prototype of a decentralized document storage application by combining blockchain and the InterPlanetary File System (IPFS). The system is designed as a web-based decentralized application (DApp), integrating Ethereum smart contracts to immutably record document metadata and access history, while the actual files are stored in IPFS and identified using unique Content Identifiers (CIDs). User interactions are facilitated through MetaMask for authentication and transaction approval. The system is developed using the Waterfall methodology. Functional testing is conducted through unit tests using Ganache as a local Ethereum blockchain, and the smart contract is also deployed to the Sepolia Ethereum testnet. The results show that the system successfully stores documents via IPFS and records metadata and access activities transparently on the blockchain. Access and download tracking features enhance document accountability. This solution provides a secure, efficient, and transparent alternative to centralized document storage and contributes to the advancement of distributed digital archiving systems.

Downloads

Download data is not yet available.

References

[1] Rancang Bangun Website Akademik dengan Penyimpanan Sertifikat Digital Menggunakan Teknologi Blockchain. (2022). Jurnal Teknologi Informasi Dan Ilmu Komputer, 9(1), 33-40. https://doi.org/10.25126/jtiik.2021863645

[2] Wang, S., Ouyang, L., Yuan, Y., Ni, X., Han, X., & Wang, F.-Y. (2019). Blockchain-Enabled Smart Contracts: Architecture, Applications, and Future Trends. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 1–12. doi:10.1109/tsmc.2019.2895123

[3] Shaikh, Shahid. Building Decentralized Blockchain Applications: Learn How to Use Blockchain as the Foundation for Next-Gen Apps (English Edition). Jerman, Bpb Publications, 2021

[4] Johnson M, Jones M, Shervey M, Dudley J, Zimmerman N. Building a Secure Biomedical Data Sharing Decentralized App (DApp): Tutorial. J Med Internet Res 2019;21(10): DOI: 10.2196/13601

[5] Metodologi Pengembangan Sistem Informasi. (n.d.). (n.p.): LP2M Press IAIN Salatiga.

[6] A. Gunawan, M. Munir, Y. Wibisono, and C. Furqon, “Integration Of Blockchain Technology In Digital Libraries: A Software Engineering Design”, jitk, vol. 9, no. 2, pp. 161–171, Feb. 2024.

[7] Lv, Guangjie & Song, Caixia & Xu, Pengmin & Qi, Zhiguo & Song, Heyu & Liu, Yi. (2023). Blockchain-Based Traceability for Agricultural Products: A Systematic Literature Review. Agriculture. 13. 1757. 10.3390/agriculture13091757.

[8] Suryawijaya, T. W. E. (2023). Memperkuat Keamanan Data melalui Teknologi Blockchain: Mengeksplorasi Implementasi Sukses dalam Transformasi Digital di Indonesia. JSKP: Jurnal Studi Kebijakan Publik, 2(1), 55–67.https://doi.org/10.21787/jskp.2.2023.55-67.

[9] Huang, Hsiao-Shan & Chang, Tian Sheuan & Wu, Jhih-Yi. (2022). A Secure File Sharing System Based on IPFS and Blockchain. 10.48550/arXiv.2205.01728.

[10] Tarigan, Avinanta. (2022). Rancang Bangun Sistem Penerbitan Sertifikat Kompetensi Sebagai Aset Non-Fungible-Token (NFT) Berbasis Blockchain Dan Web3. Jurnal Ilmiah Informatika Komputer. 27. 246-257. 10.35760/ik.2022.v27i3.7787.

[11] Lasawedi, M. F. (2022). Rancang Bangun Penyimpanan Terdistribusi Menggunakan Blockchain Dengan Protokol Interplanetary FileSystem (IPFS). Makassar: Politeknik Negeri Ujung Pandang.

[12] A. Jain, A. Kumar Tripathi, N. Chandra and P. Chinnasamy, "Smart Contract enabled Online Examination System Based in Blockchain Network," 2021 International Conference on Computer Communication and Informatics (ICCCI), Coimbatore, India, 2021, pp. 1-7, doi: 10.1109/ICCCI50826.2021.9402420.

[13] Fernández-Iglesias, M.J.; Delgado von Eitzen, C.; Anido-Rifón, L. Efficient Traceability Systems with Smart Contracts: Balancing On-Chain and Off-Chain Data Storage for Enhanced Scalability and Privacy. Appl. Sci. 2024, 14, 11078. https://doi.org/10.3390/app142311078

[14] N. Sangeeta; Nam, S.Y. Blockchain and Interplanetary File System (IPFS)-Based Data Storage System for Vehicular Networks with Keyword Search Capability. Electronics 2023, 12, 1545. https:// doi.org/10.3390/electronics12071545

[15] Oliver Bodemer . Elementary Blocks: Deciphering the Integration of Blockchain Technology in Agile and Waterfall Project Management Methodologies. TechRxiv. November 13, 2023.J. Breckling, Ed., The Analysis of Directional Time Series: Applications to Wind Speed and Direction, seri Lecture Notes in Statistics. Berlin, Germany: Springer, 1989, vol. 61.

[16] Metodologi Pengembangan Sistem Informasi. (n.d.). (n.p.): LP2M Press IAIN Salatiga.

[17] Antal, Claudia & Cioara, Tudor & Anghel, Ionut & Antal, Marcel & Salomie, Ioan. (2020). Blockchain based Decentralized Applications: Technology Review and Development Guidelines. 10.48550/arXiv.2003.07131.

[18] A. Jain, A. Kumar Tripathi, N. Chandra and P. Chinnasamy, "Smart Contract enabled Online Examination System Based in Blockchain Network," 2021 International Conference on Computer Communication and Informatics (ICCCI), Coimbatore, India, 2021, pp. 1-7, doi: 10.1109/ICCCI50826.2021.9402420.

[19] Chen, Zefeng. (2024). Design, development, and deployment of decentralized applications. Applied and Computational Engineering. 48. 46-52. 10.54254/2755-2721/48/20241132.

[20] Mishra, Debani & Rajeev, B & Mallick, Soubhagya & Lenka, Rakesh & Salkuti, Surender Reddy. (2025). Efficient blockchain based solution for secure medical record management. International Journal of Informatics and Communication Technology (IJ-ICT). 14. 59. 10.11591/ijict.v14i1.pp59-67.

[21] Ante, Lennart, and Aman Saggu. 2024. Time-Varying Bidirectional Causal Relationships between Transaction Fees and Economic Activity of Subsystems Utilizing the Ethereum Blockchain Network. Journal of Risk and Financial Management 17: 19. https://doi.org/ 10.3390/jrfm17010019.

[22] W. Uriawan, A. Wahana, C. Slamet and V. Suci Asih, "A DApp Architecture for Personal Lending on Blockchain," 2021 7th International Conference on Wireless and Telematics (ICWT), Bandung, Indonesia, 2021, pp. 1-6, doi: 10.1109/ICWT52862.2021.9678397.

[23] Hartel, Pieter & Staalduinen, Mark. (2019). Truffle tests for free -- Replaying Ethereum smart contracts for transparency. 10.48550/arXiv.1907.09208.

[24] Ahamed, N Nasurudeen. (2023). A Build and Deploy Ethereum Smart Contract for Food Supply Chain Management in Truffle - Ganache Framework. 10.1109/ICACCS57279.2023.10112889.

Downloads

Published

2025-08-03

How to Cite

[1]
A. M. Pangidoan, P. W. Buana, and F. Purnama, “Prototype of Implementation of Smart Contract for Blockchain-Based Document Storage”, JAIC, vol. 9, no. 4, pp. 1242–1253, Aug. 2025.

Issue

Section

Articles

Most read articles by the same author(s)

Similar Articles

1 2 3 4 > >> 

You may also start an advanced similarity search for this article.