Abstract:
In the process of food production, business actors are required to provide information
about the expiration date of a product in order to provide a sense of security to the
public as consumers. To track food and drug data, a traceability system is used.
Currently, the traceability system is centralized and non-transparent, where everything
in the system depends on the central entity, in this case, the food supply company. To
overcome this, this research uses blockchain in the traceability system as encryption or
security so that the system can be more transparent, avoid fraud, and safe from bugs or
hacking. Blockchain is a distributed software architecture, the features that exist on the
blockchain are decentralized, persistent, anonymous, good auditing, data stored
eternally, and can be trusted. The blockchain-based traceability system is built using
the solidity programming language. The process of creating a blockchain-based system
starts from designing, compiling and embedding smart contracts in the network. users
can only interact with data in the network through smart contracts. Data stored in the
blockchain network cannot be deleted so that the user's level of trust in the system
increases. To access the blockchain network, a smart contract is needed where users
can only interact with the blockchain network based on smart contracts that have been
embedded in the blockchain network. The smart contract that has been embedded into
the network cannot be changed.