Food Security : Food Supply Chain 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.
Downloads
References
S. Nakamoto, Bitcoin: A Peer-to-Peer
Electronic Cash System, 2008.
a) This foundational paper introduced
blockchain technology, which is
leveraged in the system for ensuring data
immutability and transparency.
2. Kumar, R., & Tripathi, R. (2020),
Blockchain-Based Food Supply Chain
Management: A Review, International
Journal of Advanced Science and Technology,
29(4).
a) Provides insights into how blockchain
can improve traceability, reduce fraud,
and enhance food safety across supply
chains.
3. Tian, F. (2016), An agri-food supply chain
traceability system for China based on RFID
& blockchain technology, 13th International
Conference on Service Systems and Service
Management (ICSSSM).
a) Discusses the implementation of
blockchain and RFID for product
tracking and validation in agriculture.
4. Zhao, G., Liu, S., Lopez, C., & Lu, H.
(2019), Blockchain technology in agri-food
value chain management: A synthesis of
applications, challenges and future research
directions, Computers in Industry, 109, 83–99.
a) Highlights real-world applications and
challenges of integrating blockchain into
agri-food systems.
5. Christidis, K., & Devetsikiotis, M. (2016),
Blockchains and Smart Contracts for the
Internet of Things, IEEE Access, 4, 2292–
2303.
a) Explores the integration of smart
contracts and IoT, relevant for
automating transactions and monitoring
in supply chains
6. Hyperledger Fabric Documentation,