Blockchain-Quality of Assurance and Food authenticity using blockchain
Abstract
In recent years, ensuring transparency, security, and traceability in supply chain management has become a critical need, especially in sectors like agriculture and food distribution. This project introduces a decentralized, blockchain-enabled Food Supply Chain Management System that leverages Ethereum smart contracts and Python (via Django) to monitor, record, and verify transactions involving farmers, producers, distributors, and consumers in a tamper-proof manner. The core of this system is a smart contract deployed on a local Ethereum blockchain (Ganache), which securely stores user credentials, product information, and purchase transactions. Using Web3.py, the application interacts with the smart contract to perform functions such as product addition, purchase tracking, status updates, and QR code generation for verification. The blockchain ensures that once data is recorded, it cannot be altered, thus enhancing data integrity and trust between stakeholders. Each product added by a farmer or producer is assigned a unique QR code containing details such as owner, product ID, description, and transaction history. These details are displayed along with product images and are accessible to consumers and distributors through dedicated user interfaces. The Django web framework provides intuitive screens for different user roles, ensuring seamless interaction and real-time updates. By automating traceability and reducing reliance on centralized systems, this project demonstrates the potential of blockchain in transforming traditional food supply chains into transparent, efficient, and secure ecosystems. It ensures that all participants in the supply chain—from the origin of the product to its end consumer—are accountable and verifiable at every step.
