top of page

SF19203
Blockchain-based Traceability for Food Supply Chain

This project is a prototype of blockchain-based traceability for the food supply chain. The prototype implements blockchain as the solution to keep track of the history of the product. The prototype is expected to allow suppliers to create, issue, verify the certificate of the product, and customer is allowed to view the long history of the product.


Each of the processes of the food product will be issued with a certificate and each of the certificates is linked by using the previous certificate's name. To view the history of the food product, the customer required to scan the QR code printed at the package of the product. Then, the system will retrieve the message stored for that particular process and look for the previous certificate name. This step will be repeated until no previous certificate name is found, then the complete history of the product will be displayed to the customer.


The system will create certificates in JSON format based details in the CSV file uploaded by the supplier.
To issue the certificate, the content of the certificate will be hashed and stored in Merkle Tree. Then, The system will make a Bitcoin Testnet transaction to itself and attach Merkle Root as the Pkscript.
To verify the certificate, the content of the certificate will be hashed and calculate the Merkle Root, then compare it with the Pkscript in the Bitcoin Testnet transaction.

Name: Ng Yi Xiong

Matrics No: 132959

Email: yixiongng@student.usm.my

Supervisor: Professor Dr. Azman Samsudin

Email: azman.samsudin@usm.my

SF19203: Overview
SF19203: Video Player
bottom of page