Sistem kasir dengan menggunakan aplikasi atau website yang lebih sering dikenal dengan sistem point of sale (POS) dalam perkembangannya memerlukan tingkat keamanan serta transparansi dalam setiap perubahan aksi pada sistem berupa proses masuk keluarnya barang dalam rantai pasok stok barang. Untuk mengatasi permasalahan ini, peneliti membangun sebuah website point of sale (POS) dengan mengimplementasikan fungsi logic control pada smart contract yang tersedia dalam teknologi blockchain. Teknologi blockchain dengan konsensus proof of stake dipilih dikarenakan teknologi ini dapat memverifikasi setiap adanya perubahan-perubahan setiap aksi dalam proses masuknya stok barang dalam blok-blok yang telah terenkripsi dalam ledger yang terditribusi pada jaringan blockhain. Hasil dari implementasi blockchain dapat dilihat dengan menggunakan software ganache yang digunakan untuk merekam setiap perubahan aksi pada stok barang. Selain itu, point of sale (POS) telah diuji dengan dua jenis testing, yaitu functional testing untuk menguji keberhasilan setiap aksi yang dilakukan pada user interface-nya, dan unit testing untuk menguji kelayakan spesifikasi dengan melakukan validasi setiap kode pada smart contract.
KATA KUNCI: Stok barang, point of sale, blockchain, proof of stake, smart contract.
Cashier systems using applications or websites that are more commonly known as point of sale (POS) systems in their development require a level of security and transparency in every change in action on the system in the form of the process of entering and exiting goods in the stock supply chain. To overcome this problem, researchers built a point of sale (POS) website by implementing logic control functions on smart contracts available in blockchain technology. Blockchain technology with proof of stake consensus was chosen because this technology can verify every change in every action in the process of entering the stock of goods in blocks that have been encrypted in a ledger distributed on the blockhain network. The results of the blockchain implementation can be seen by using ganache software which is used to record every change in action on stock items. In addition, the point of sale (POS) has been tested with two types of testing, namely functional testing to test the success of each action performed on the user interface, and unit testing to test the feasibility of specifications by validating each code in the smart contract.
KEYWORDS: Stock of goods, point of sale, blockchain, proof of ownership, smart contract.