Perancangan dan Implementasi Smart Contract untuk Verifikasi Integritas Ijazah Digital pada Jaringan Blockchain
Abstract
The authenticity of academic certificates such as diplomas remains a critical issue, as conventional verification still relies on centralized issuing institutions and is vulnerable to forgery. This study focuses on the design and implementation of a smart contract as the validation layer of a hash-based digital diploma verification system built on a hybrid blockchain-IPFS architecture. The smart contract, named DocumentVerification, was developed using the Solidity programming language and deployed on the Ethereum Sepolia testnet through the Hardhat framework with Alchemy as the RPC provider. The contract stores the SHA-256 hash of a document together with its IPFS Content Identifier (CID) inside an immutable mapping, enforcing input validation to reject empty hashes, empty CIDs, and duplicate registrations. Functional testing using the grey-box method through the Hardhat test runner shows that the storeDocument, getDocument, and verifyDocument functions executed correctly and that the contract successfully rejected all invalid-data scenarios. The results demonstrate that the smart contract is able to guarantee document integrity and enable independent public verification without depending on the issuing institution.
Keywords: Smart Contract; Blockchain; Diploma Verification; Solidity; Document Integrity
Abstrak
Keaslian dokumen akademik seperti ijazah masih menjadi persoalan penting karena proses verifikasi konvensional bergantung pada institusi penerbit yang bersifat terpusat dan rentan terhadap pemalsuan. Penelitian ini berfokus pada perancangan dan implementasi smart contract sebagai validation layer pada sistem verifikasi ijazah digital berbasis hash dengan arsitektur hybrid blockchain-IPFS. Smart contract bernama DocumentVerification dikembangkan menggunakan bahasa pemrograman Solidity dan dideploy pada jaringan Ethereum Sepolia testnet melalui framework Hardhat dengan Alchemy sebagai RPC provider. Kontrak menyimpan nilai hash SHA-256 dokumen beserta Content Identifier (CID) IPFS ke dalam mapping yang bersifat immutable, serta menerapkan validasi input untuk menolak hash kosong, CID kosong, dan registrasi duplikat. Pengujian fungsional menggunakan metode grey-box melalui Hardhat test runner menunjukkan bahwa fungsi storeDocument, getDocument, dan verifyDocument berjalan sesuai rancangan dan kontrak berhasil menolak seluruh skenario data tidak valid. Hasil penelitian menunjukkan bahwa smart contract mampu menjamin integritas dokumen serta memungkinkan verifikasi publik secara mandiri tanpa bergantung pada institusi penerbit.
Keywords
References
Republik Indonesia, “Undang-Undang Republik Indonesia Nomor 19 Tahun 2016 tentang Perubahan atas Undang-Undang Nomor 11 Tahun 2008 tentang Informasi dan Transaksi Elektronik.” Pemerintah Republik Indonesia, 2016.
S. Abdullah, “Implementasi Blockchain untuk Keamanan Data Akademik dalam Sistem Informasi Perguruan Tinggi,” Go Infotech J. Ilm. STMIK AUB, vol. 31, no. 1, pp. 149–160, 2025, doi: 10.36309/goi.v31i1.371.
M. H. S. Agus, “Ditemukan 112 ijazah palsu CPNS di Simeulue, Ombudsman dorong polisi segera usut.” 2023. [Online]. Available: https://aceh.antaranews.com/berita/341475/ ditemukan-112-ijazah-palsu-cpns-di-simeulue-ombudsman-dorong-polisi-segera-usut
T. R. D. Suseno, I. Afrianto, and S. Atin, “Strengthening Data Integrity in Academic Document Recording with Blockchain and InterPlanetary File System,” Int. J. Electr. Comput. Eng., vol. 14, no. 2, pp. 1759–1769, 2024, doi: 10.11591/ijece.v14i2.pp1759-1769.
H. Wijayanto, “Aplikasi Verifikasi Sertifikat Berbasis Website Menggunakan Blockchain,” Infact, vol. 8, no. 2, pp. 35–42, 2024, doi: 10.61179/jurnalinfact.v8i02.586.
B. A. I. Swari and I. M. Suartana, “Pengembangan Decentralized Application (DApp) untuk Manajemen Sertifikat Digital menggunakan Non-Fungible Tokens (NFT) berbasis Standar ERC-721 di Jaringan Ethereum,” J. Inform. Comput. Sci., vol. 6, no. 3, pp. 661–668, 2024, doi: 10.26740/jinacs.v6n03.p661-668.
A. M. Pangidoan, P. W. Buana, and F. Purnama, “Prototype of Implementation of Smart Contract for Blockchain-Based Document Storage,” J. Appl. Inform. Comput., vol. 9, no. 4, pp. 1242–1253, 2025, doi: 10.30871/jaic.v9i4.9493.
R. A. Suparlan, “Implementasi Smart Contract Blockchain Ethereum Pada Aplikasi E-voting,” Inform. Digit. Expert, vol. 7, no. 1, pp. 66–70, 2025, doi: 10.36423/index.v7i1.2177.
H. S. Kartiko, T. Rismawan, and I. Ruslianto, “Implementasi IPFS untuk Mengurangi Gas Fee Smart Contract Ethereum pada Aplikasi Penggalangan Dana,” J. Edukasi Dan Penelit. Inform., vol. 9, no. 2, pp. 195–203, 2023, doi: 10.26418/jp.v9i2.61876.
K. Ramadahni, “Penerapan Teknologi Blockchain dalam Sistem Manajemen Kesehatan Elektronik,” J. Sos. Dan Teknol., vol. 4, no. 2, pp. 116–119, 2024, doi: 10.59188/jurnalsostech.v4i2.1097.
A. N. Sari and T. Gelar, “Blockchain: Teknologi dan Implementasinya,” J. Mnemon., vol. 7, no. 1, pp. 63–70, 2024, doi: 10.36040/mnemonic.v7i1.6961.
H. E. Wahanani and M. H. P. Swari, “Usability Testing pada Sistem Kearsipan Dokumen Dosen,” Krisnadana J., vol. 2, no. 3, pp. 424–431, 2023, doi: 10.58982/jkdn.v2i3.336.
H. D. Silitonga, R. A. Windari, and S. N. Ardhya, “Analisis Keabsahan (Smart Contract) Transaksi Aset Digital di Platform Ethereum dalam Teknologi Blockchain,” J. Komunitas Yust., vol. 7, no. 1, pp. 37–49, 2024, doi: 10.23887/jatayu.v7i1.94160.
Hardhat, “Getting Started with Hardhat 3.” 2025. [Online]. Available: https://hardhat.org/docs/getting-started
M. H. S. Fedianto, F. P. Aditiawan, and M. M. A. Haromainy, “Pengujian Sistem Jaringan Dokumentasi Dan Informasi Menggunakan Black Box Testing Dan White Box Testing,” J. Publ. Sist. Inf. Dan Manaj. Bisnis, vol. 3, no. 1, pp. 213–221, 2024, doi: 10.55606/jupsim.v3i1.2447.
J. Skalka and M. Drlik, “Development of Automatic Source Code Evaluation Tests Using Grey-Box Methods: A Programming Education Case Study,” IEEE Access, vol. 11, pp. 106772–106792, 2023, doi: 10.1109/ACCESS.2023.3317694.
S. Avasthi, K. Jain, A. Prakash, and T. Sanwal, “A Blockchain Architecture for Secure Decentralized System and Computing,” in 2024 3rd International Conference on Power Electronics and IoT Applications in Renewable Energy and its Control (PARC), 2024, pp. 415–420. doi: 10.1109/PARC59193.2024.10486648.
G. Tripathi, M. A. Ahad, and G. Casalino, “A Comprehensive Review of Blockchain Technology: Underlying Principles and Historical Background with Future Challenges,” Decis. Anal. J., vol. 9, p. 100344, 2023, doi: 10.1016/j.dajour.2023.100344.
Republik Indonesia, “Undang-Undang Republik Indonesia Nomor 19 Tahun 2016 tentang Perubahan atas Undang-Undang Nomor 11 Tahun 2008 tentang Informasi dan Transaksi Elektronik.” Pemerintah Republik Indonesia, 2016.
How To Cite This :
Refbacks
- There are currently no refbacks.










