PENGEMBANGAN ANTARMUKA PEMROGRAMAN APLIKASI (API) UNTUK SISTEM PENJUALAN TIKET BERBASIS KONTRAK PINTAR

Authors

  • Muhammad Rafi Juliansyah Universitas Gunadarma
  • Hustinawaty Hustinawaty Universitas Gunadarma

DOI:

https://doi.org/10.31849/jd6mnj30

Keywords:

Antar Muka Pemograman Aplikasi, Kontrak Pintar, Rantai Blok, Sistem Penjualan Tiket, Sistem Terdistribusi

Abstract

Sistem penjualan tiket konser daring di Indonesia masih rentan terhadap pemalsuan, penipuan, dan praktik percaloan. Penelitian ini mengembangkan RESTful API yang terintegrasi dengan kontrak pintar pada Hyperledger Fabric untuk meningkatkan keamanan dan transparansi sistem tiket. Menggunakan pendekatan prototyping, sistem dibangun dengan Node.js, Express.js, dan CouchDB, yang dideploy pada tiga peer node (Ticket Operator, Ticket Buyer, Auditor) yang terhubung melalui satu channel. Enam endpoint API berbasis CRUD diimplementasikan sesuai dengan fungsi-fungsi kontrak pintar CreateTicket, ReadTicket, GetAllTickets, UpdateTicket, TransferTicket, dan DeleteTicket. Pengujian fungsional mengkonfirmasi bahwa seluruh endpoint berfungsi dengan benar. Pengujian performa menggunakan Hyperledger Caliper menunjukkan throughput puncak sebesar 298 TPS dengan rata-rata latency 0,23–0,95 detik pada beban sedang. Pada beban tinggi (1000–2000 TPS), throughput turun menjadi 135,8 TPS dan rata-rata latency mencapai 9,52 detik. Sistem ini layak diterapkan untuk distribusi tiket digital terdesentralisasi skala menengah.

References

[1] G. S. Nabila and R. B. Setianingrum, “Studi Komparatif Perlindungan Hukum dan Pengaturan Scalping Tiket Konser K-Pop di Indonesia dan Korea Selatan,” Indones. J. Crim. Law Criminol., vol. 6, no. 3, pp. 131–138, 2025, doi: 10.18196/ijclc.v6i3.27330.

[2] H. Sinaga, “Kasus Jasa Titip (Jastip) Tiket Coldplay Secara Online Dalam Perspektif Hukum Pidana,” Innov. J. Soc. Sci. Res., vol. 3, no. 1, pp. 755–768, 2023.

[3] A. Ahmad, F. Ilmawa, and A. Amrulloh, “Implementasi Penjualan Tiket Event Musik Berbasis NFT Menggunakan Blockchain,” J. Smart Syst., vol. 3, no. 2, 2024.

[4] M. Gorbunova, P. Masek, M. Komarov, and A. Ometov, “Distributed Ledger Technology: State-of-the-Art and Current Challenges,” Comput. Sci. Inf. Syst., vol. 19, no. 1, pp. 65–85, Jan. 2022, doi: 10.2298/CSIS210215037G.

[5] C. Gorenflo, S. Lee, L. Golab, and S. Keshav, “FastFabric: Scaling hyperledger fabric to 20 000 transactions per second,” Int. J. Netw. Manag., vol. 30, no. 5, Sep. 2020, doi: 10.1002/nem.2099.

[6] S. Rafati Niya, S. Bachmann, C. Brasser, M. Bucher, N. Spielmann, and B. Stiller, “DeTi: A Decentralized Ticketing Management Platform,” J. Netw. Syst. Manag., vol. 30, no. 4, Oct. 2022, doi: 10.1007/s10922-022-09675-3.

[7] S. Feulner, J. Sedlmeir, V. Schlatt, and N. Urbach, “Exploring the use of self-sovereign identity for event ticketing systems,” Electron. Mark., vol. 32, no. 3, pp. 1759–1777, Sep. 2022, doi: 10.1007/s12525-022-00573-9.

[8] H. Q. Nguyen, H. T. Nguyen, and T. T. Pham, “Applying Smart Contract in Blockchain Technology to Manage the Ticketing Issuance and Ticketing Traceability,” in 2023 IEEE Jordan International Joint Conference on Electrical Engineering and Information Technology, JEEIT 2023, Institute of Electrical and Electronics Engineers Inc., 2023, pp. 160–164. doi: 10.1109/JEEIT58638.2023.10185771.

[9] M. Sachy, R. Spigolon, and S. Nonneman, “Three properties of distributed ledger technology systems applied in the nuclear sector adding value to safeguards – immutability, timestamping and auditability,” ESARDA Bull., vol. 2021, no. 62, pp. 60–79, Jun. 2021, doi: 10.3011/ESARDA.IJNSNP.2021.6.

[10] V. Garcia-Font, “Conceptual technological framework for smart cities to move towards decentralized and user-centric architectures using DLT,” Smart Cities, vol. 4, no. 2, pp. 728–745, Jun. 2021, doi: 10.3390/smartcities4020037.

[11] S. Sayeed, H. Marco-Gisbert, and T. Caira, “Smart Contract: Attacks and Protections,” IEEE Access, vol. 8, pp. 24416–24427, 2020, doi: 10.1109/ACCESS.2020.2970495.

[12] S. Mohan M and L. Sujihelen, “An efficient chain code for access control in hyper ledger fabric healthcare system,” e-Prime - Adv. Electr. Eng. Electron. Energy, vol. 5, Sep. 2023, doi: 10.1016/j.prime.2023.100204.

[13] T. Guggenberger, J. Sedlmeir, G. Fridgen, and A. Luckow, “An in-depth investigation of the performance characteristics of Hyperledger Fabric,” Comput. Ind. Eng., vol. 173, Nov. 2022, doi: 10.1016/j.cie.2022.108716.

[14] Hasanuddin, H. Asgar, and B. Hartono, “RANCANG BANGUNG REST API APLIKASI WESHARE SEBAGAI UPAYA MEMPERMUDAH PELAYANAN DONASI KEMANUSIAAN,” JINTEKS (Jurnal Inform. dan Teknol. dan Sains), vol. 4, pp. 8–14, Feb. 2022.

[15] Rangga Gelar Guntara and V. Azkarin, “Implementasi dan Pengujian REST API Sistem Reservasi Ruang Rapat dengan Metode Black Box Testing,” J. Minfo Polgan, vol. 12, no. 1, pp. 1229–1238, Jul. 2023, doi: 10.33395/jmp.v12i1.12691.

[16] A. Ramadhani, N. Iriadi, and R. Hidayat, “Implementasi Teknologi Rest API Dengan Node Js Untuk Aplikasi Rekomendasi Destinasi Wisata,” J. Comput. Sci., vol. 4, no. 1, 2025.

[17] D. H. Kostrzewa and M. Miłosz, “Comparative analysis of the Express.js and ElysiaJS frameworks in the context of web application development,” J. Comput. Sci. Inst., vol. 32, pp. 246–250, 2024.

[18] I. Carvalho, F. Sá, and J. Bernardino, “NoSQL Document Databases Assessment: Couchbase, CouchDB, and MongoDB,” in Proceedings ofthe 11th International Conference on Data Science, Technology and Applications (DATA 2022), Scitepress, Jul. 2022, pp. 557–564. doi: 10.5220/0011352700003269.

[19] C. Melo et al., “Performance and availability evaluation of the blockchain platform hyperledger fabric,” J. Supercomput., vol. 78, no. 10, pp. 12505–12527, Jul. 2022, doi: 10.1007/s11227-022-04361-2.

[20] V. Jayadev, N. Moradpoor, and A. Petrovski, “Assessing the Performance of Ethereum and Hyperledger Fabric Under DDoS Attacks for Cyber-Physical Systems,” in ACM International Conference Proceeding Series, Association for Computing Machinery, Jul. 2024. doi: 10.1145/3664476.3670927.

[21] E. Putra Pane and F. Juliani, “MANAJEMEN SISTEM DAN MONITORING PENJUALAN UMKM PADA OUTLET SOMAY BATAGOR CAKRA BUANA,” Zo. J. Sist. Inf., vol. 7, no. 3, pp. 946–955, Sep. 2025.

[22] N. Andini, R. Taufiq, D. Y. Priyanggodo, and Y. Sugiyani, “PENGGUNAAN METODE PROTOTYPE PADA PENGEMBANGAN SISTEM INFORMASI IMUNISASI POSYANDU,” JIKA (Jurnal Inform., vol. 7, no. 4, p. 431, Nov. 2023, doi: 10.31000/jika.v7i4.9329.

Downloads

Published

2026-05-16

How to Cite

[1]
“PENGEMBANGAN ANTARMUKA PEMROGRAMAN APLIKASI (API) UNTUK SISTEM PENJUALAN TIKET BERBASIS KONTRAK PINTAR”, zn, vol. 8, no. 2, May 2026, doi: 10.31849/jd6mnj30.