Abstract
Agriculture is a cornerstone of Nigeria’s economy, providing livelihoods for the majority of the rural population and contributing significantly to food security and economic development; however, persistent inefficiencies in the distribution of fertilizers, a critical agricultural input, continue to undermine government intervention programs. Despite efforts by institutions such as the Jigawa Agricultural and Rural Development Authority (JARDA) to ensure equitable access to subsidized fertilizers, the system remains plagued by corruption, diversion of resources, ghost beneficiaries, poor accountability mechanisms, and logistical bottlenecks. Traditional distribution frameworks that rely on paper-based records and siloed databases are inadequate for ensuring transparency, traceability, and real-time monitoring, leaving farmers—particularly those in rural areas—unable to access the inputs intended for them, while administrators struggle with unreliable data for planning and decision-making. This study proposes a blockchain-based fertilizer distribution tracking system designed to address these challenges by leveraging the transparency, immutability, and decentralized nature of blockchain technology. The proposed system, developed with Python (Flask), SQLite, and JavaScript, operates on a private local blockchain to simulate the roles of government administrators, suppliers, and farmers, ensuring secure and verifiable transactions across the supply chain. The system demonstrates how digital innovations can strengthen agricultural policy implementation by minimizing fraud, improving monitoring, and ensuring equitable distribution of fertilizers.
TABLE OF CONTENTS
Contents
APPROVAL PAGE.. i
DECLARATION.. ii
CERTIFICATION.. iii
DEDICATION.. iv
ACKNOWLEDGEMENT. v
CHAPTER ONE.. 1
INTRODUCTION.. 1
1.0 Introduction. 1
1.1 Background of the Study. 1
1.2 Problem Statement 2
1.3 Aim and Objectives. 3
1.4 Scope and Limitations. 3
1.5 Significance of the Study. 4
1.6 Project Organization. 4
1.7 Definition of Terms. 4
CHAPTER TWO.. 6
LITERATURE REVIEW... 6
2.0 Introduction. 6
2.1 Concept of Fertilizer Distribution in Agriculture. 6
2.2 Challenges in Fertilizer Distribution Systems. 7
2.3 Applications of Blockchain in Agricultural Supply Chains. 8
2.4 Review of Related Studies. 8
2.5 Summary of Literature Review.. 9
CHAPTER THREE METHODOLOGY.. 10
3.0 Introduction. 10
3.1 Data Collection Method. 10
3.2 Research Design and Approach. 10
3.2.1 Program design. 11
3.3 System Development Life Cycle. 13
3.2.2 Design Process. 15
3.2.3 System Architecture Paradigm.. 15
3.3 System Requirements and Specifications. 15
3.3.1 Functional Requirements (FR) 15
3.3.2 Non-Functional Requirements (NFR) 16
3.4 Implementation Details and Technological Stack. 17
3.4.1 Development Environment 17
3.4.2 Technological Stack. 18
3.4.3 Core Implementation Modules. 19
3.5 System Evaluation and Testing. 19
3.5.1 Unit Testing. 20
3.5.2 System Testing. 20
3.5.3 User Acceptance Testing (UAT) 20
3.6 Conclusion. 21
CHAPTER FOUR SYSTEM IMPLEMENTATION AND TESTING.. 22
4.0 Introduction. 22
4.1 Implementation Environment and Configuration. 22
4.1.1 Development Stack Reaffirmation. 22
4.2.2 Initial Setup and Data Seeding. 23
4.3 Module Implementation. 23
4.3.1 User Interface and Role-Based Access Control 23
4.3.2 The Core Transactional Pipeline. 24
4.3.3 The Blockchain Audit Ledger (NFR2) 24
4.4 System Validation and Testing Results. 25
4.4.1 Test Methodology. 25
4.4.2 Functional System Testing (FRs) 25
4.4.3 Non-Functional and Security Testing (NFRs) 26
4.5 Chapter Summary. 27
4.6 Snapshots and Visual Evidence. 27
CHAPTER FIVE.. 32
SUMMARY, CONCLUSION, AND RECOMMENDATION.. 32
5.0 Introduction. 32
5.1 Summary of the Study. 32
5.1.1 Problem and Objective Restatement 32
5.2.2 Methodology and Implementation Summary. 32
5.2.3 Summary of Test Results. 33
5.3 Conclusion. 33
5.4 Contribution to Knowledge and Practice. 33
5.4.1 Contribution to Practice (Practical Impact) 33
5.4.2 Contribution to Knowledge (Academic Insight) 34
5.5 Recommendations for Future Work. 34
REFERENCES. 36
SOURCE CODE
CHAPTER ONE
INTRODUCTION
Fertilizer
distribution is a critical aspect of agricultural policy in Nigeria,
particularly for rural farmers who depend on government-subsidized inputs.
However, persistent inefficiencies, fraud, and lack of transparency undermine
these programs, leading to the exclusion of genuine beneficiaries and loss of
government resources.
Recent
advances in technology have demonstrated the potential of blockchain in supply
chain management, where it ensures transparency, accountability, and
traceability of goods and services. This project introduces a prototype system
that leverages blockchain technology to track fertilizer distribution in JARDA.
The system will be developed using Python (Flask), SQLite, and JavaScript, with
a private local blockchain for secure transaction recording. The project aims
to bridge the gap between traditional methods and modern digital solutions by
demonstrating how distributed ledger technology can transform agricultural
resource management in Nigeria.
1.1
Background of the Study
Agriculture
continues to be the backbone of Nigeria’s economy, employing a majority of the
rural population and contributing significantly to food security and economic
growth. Fertilizer, as a key agricultural input, is central to improving crop
yields and sustaining productivity. In recognition of this, the government has
established intervention programs through agencies such as the Jigawa
Agricultural and Rural Development Authority (JARDA) to ensure equitable
distribution of subsidized fertilizers to farmers across the state.
Despite
these interventions, fertilizer distribution in Nigeria remains plagued by
systemic challenges such as corruption, resource diversion, ghost
beneficiaries, and inadequate accountability frameworks (World Bank, 2020).
Farmers, particularly those in rural areas, are often unable to access the
fertilizers allocated to them due to inefficiencies in the supply chain.
Administrators, on the other hand, lack reliable tools to monitor fertilizer
flows from suppliers to end-users, resulting in inaccurate reporting and poor
decision-making.
Traditional
paper-based records and siloed databases are insufficient for ensuring
transparency and traceability. These centralized systems are vulnerable to
manipulation, data loss, and single-point failures. Therefore, there is a pressing
need for a secure, transparent, and decentralized digital system to manage
fertilizer distribution effectively.
Blockchain
technology provides an innovative solution by recording transactions on a
decentralized, tamper-proof ledger, ensuring that data is transparent and
verifiable by all stakeholders. When integrated with web technologies such as
Python (Flask framework), SQLite, and JavaScript, blockchain can support the
development of a robust fertilizer tracking platform.
This
project seeks to design and implement a Blockchain-Based Fertilizer
Distribution Tracking System for JARDA, using a local blockchain framework
alongside modern web development tools. The proposed system will promote
transparency, reduce corruption, and support accountability in fertilizer
distribution programs.
1.2 Problem Statement
The
current fertilizer distribution model employed by JARDA faces several problems:
- Lack
of transparency, as fertilizers are often diverted before reaching
legitimate beneficiaries.
- Dependence
on manual record-keeping and fragmented databases, which are prone to
errors and manipulation.
- Absence
of real-time visibility for administrators, making monitoring and auditing
difficult.
- Prevalence
of fraudulent practices such as ghost beneficiaries and duplicate claims.
- Inability to analyze
historical data for accurate reporting and planning of fertilizer demand.
These
challenges have continued to undermine the effectiveness of government
agricultural programs. Without a secure, automated system, the goals of
equitable distribution and improved agricultural productivity remain elusive.
1.3
Aim and Objectives
Aim:
To design and implement a
blockchain-based fertilizer distribution tracking system that improves
transparency, accountability, and efficiency in JARDA’s fertilizer programs.
Objectives:
- To
review the existing fertilizer distribution framework of JARDA and
identify its limitations.
- To
design a blockchain-enabled platform for secure recording and tracking of
fertilizer distribution.
- To
develop a user-friendly interface using Flask, SQLite, and JavaScript for
administrators, suppliers, and farmers.
- To evaluate the system’s
performance in terms of transparency, security, and usability.
1.4
Scope and Limitations
Scope:
The project will focus on building a
prototype system for fertilizer distribution tracking using a private local
blockchain network. The system will simulate key roles in the supply chain,
including government administrators, suppliers, and farmers. SQLite will serve
as the database for user management, while Flask will provide the back-end
framework and JavaScript will handle client-side interactions.
Limitations:
- The
system will be implemented in a simulated environment and will not
directly integrate with JARDA’s live infrastructure.
- The
blockchain will be deployed on a private network; public blockchain
integration is outside the scope of this project.
- Resource constraints such as
funding, real-time data access, and legal compliance may restrict full
deployment.
1.5
Significance of the Study
The
significance of this study is multi-dimensional:
● For Government Agencies (JARDA): The system offers
transparency and accountability, enabling better monitoring and reducing fraud
in fertilizer distribution.
● For Farmers: It ensures fair access to fertilizers and
builds trust in government programs.
● For Researchers and Developers: The project serves as a
case study in applying blockchain to agricultural resource management.
● For Policy Makers: It provides insights into how digital
solutions can address systemic inefficiencies in government interventions.
●
For Society at
Large: By ensuring fertilizers reach intended beneficiaries, the system
contributes to improved agricultural productivity, food security, and rural
development.
1.6
Project Organization
This
project report is structured into five chapters:
● Chapter One provides the background of the study,
introduction, problem statement, aim and objectives, scope and limitations,
significance, project organization, and definition of terms.
● Chapter Two presents a review of related literature,
covering blockchain applications in agriculture and gaps in existing research.
● Chapter Three discusses the methodology adopted,
including data collection, system design, and blockchain implementation.
● Chapter Four outlines the system design, implementation,
and testing, demonstrating the functionality of the proposed system.
●
Chapter Five
concludes the study by summarizing findings, highlighting contributions, and
suggesting future improvements.
1.7
Definition of Terms
● Blockchain: A decentralized and tamper-proof digital
ledger that records transactions securely across multiple computers.
● Fertilizer Distribution: The process of allocating and
delivering fertilizers to farmers or agricultural organizations.
● JARDA: Jigawa Agricultural and Rural Development
Authority, the agency responsible for agricultural development programs in
Jigawa State.
● Smart Contract: A self-executing code deployed on a blockchain
to automate agreements and processes.
● SQLite: A lightweight, serverless database system used
for local data storage.
● Flask: A Python-based micro-framework for building web
applications.
● JavaScript: A programming language used primarily for
client-side web development to create interactive features.
●
Transparency: The
practice of making processes open and verifiable by stakeholders.
Login To Comment