Professional Documents
Culture Documents
B. M. A L. Basnayake C. Rajapakse
Department o f Industrial Management, Department o f Industrial Management,
University o f Kelaniya, Sri Lanka University o f Kelaniya, Sri Lanka
basnayake.bmal@gmail.com chathura@kln.ac.lk
Abstract
1. Introduction
Low quality agricultural products are added to the
The applicability of Blockchain concept to the
market daily. Over usage o f chemicals in the production
agricultural supply chain to verify the origin and quality
process, use of uncertified chemicals and mechanisms for
of the agricultural products was considered for this study.
preservation and ripening processes, are the major
The Customers are not satisfied with the quality of the
issues that impact on agricultural product’s quality as
agricultural products that they are consuming due to the
well as overall health o f the consumers. Mechanisms to
presence of synthetic agricultural chemicals in the agro
identify the quality o f the agricultural products are
products.
highly demanded due to the lack o f transparency in the
Production of the organic foods is adequate to fulfill
current process. Blockchain technology is emerging as a
market demand [1] and a mechanism for product
decentralized and secure infrastructure which can
certification is required. Thus demand for the carbonic
replace involvement o f a third party to verify the
foods and products with health certifications are
transactions within the system. The purpose o f the
increasing due to the current global health issues. Due to
research was to implement a Blockchain based solution
lack of transparency of existing certification mechanisms,
to verify the food quality and the origin o f the
consumers are reluctant to trust these mechanisms.
agricultural supply chain. A public Blockchain concept
Hence preparing a transparent and efficient
was selected instead o f a private Blockchain in this study
architecture for food certification was the purpose of the
to ensure transparency by allowing any person to access
study, by combining trusted certification system utilizing
the network. Instances o f the smart contract were created
Blockchain concept and other technologies. A proof-of-
fo r each physical product and deployed to Blockchain
concept has been constructed and tested in this paper.
network. A Quick Response code which contained the
address o f the instance, was a reference to the virtual
1.1. Organic agriculture industry
product. All the actors who are involved in the supply
chain must be able to interact with the system to achieve With the drastic environmental pollution due to
the transparency. Each transaction and events related to agrochemicals and their effect on human health, demand
a product is validated by peers o f the Blockchain system. for the organic products is increased. Incensement of
Product ownership was changed fo r each relevant global demand and new market, premium price in local
transaction. A token-based mechanism was used to and export market and increment of farmers’ income by
indicate the farmers ’ reputation with their products. 30-100% are the inspiring factors for the farmers to
Farmers could place a certification request regarding involve in the organic food industry [2].
their products and, they can gain reputation tokens fo r Sri Lanka has introduced a vast variety of organic
each certification done by peers. A unique Quick products such as organically certified tea, spices,
Response code was used to identify each product within essential oils, herbs, desiccated coconut, oil seeds, pulses,
the supply chain. The proposed system has been cashew, rubber, tropical fruits and vegetables [3].
implemented as a prototype and validated within the
study. 1.2. Agricultural supply chain
Keywords: Agriculture, Supply chains, Food security Agricultural supply chain varies for each product.
Each product/crop has a unique flow within the process.
Value addition or formation processes may be taken
place within the supply chain. Lot of waste, damage,
--- λ
^
Surplus/ low quality
farmer/producer
generation, Blockchain applications were derived to
many fields. Supply chain is a key area where
Blockchain concept is widely applied.
The Danish shipping company Maersk the world’s
V
largest container carrier, tested the use of Blockchain
t applications in the international logistics to reduce the
><t------------------------- 1 supplier/ mediator paper work in shipping and container tracking [8].
Surplus/ low quality14- 1
Consumer
2.1. Flaws in centralized systems
Consumer trust, supply chain transparency, product
quality, logistic issues, environmental impact, personal
consumer data, fraud, food safety, etc. are the reliability
issues which are faced by current supply chains.
Consumers request greater transparency and information
but current systems cannot provide such data. Most of the
cases, information is audited by third parties, and records
are stored in paper or centralized databases. This
approach causes some problems mentioned below.
Figure 1. Current Food supply chain in Sri Lanka.
Figure 1 describes the agricultural supply chain in • High cost and inefficiency of paper based processes.
brief. Damaged or low quality products are issued to the • Frauds, security errors in IT systems
local market at low price or same price, in relation to • Integrity of digital records
non-organic products [4]. • Misuse of paper certifications
1.3. Food certification These problems result in low transparency and trust.
With the usage of Blockchain based platform,
Organic farmers are certified under several mechanisms such as smart contracts, decentralized
certifications within Sri Lanka. SLGAP (Agricultural database and proof-of-works ensured the security and
Department, Sri Lanka), Control Union (Netherlands), transparency of supply chain [9].
IMO (Switzerland), NASAA (Australia), EcoCert
(Germany), etc.[5] 2.2. Food tracking
Agro land details, soil, water supply, seeds, history of
the land, crop, disease and control etc. are considered Tracking mechanisms are dependent on the
when issuing the certification [6]. These certifications are products/items which were exchanged within the supply
updated seasonally. Certifications can be misused to sell chain. Customers were willing to pay additional costs to
products from third parties or low quality products attach IoT devices to track the location of the product
because only the farmers are certified, not the products. when they are high cost products. Heavy vehicles and
Most of the regular relationships between farmers and high cost machines were attached with IoT devices to
consumers, farmers and mediators depended on pre track locations. Product types like pharmaceutical items,
experience and trust. foods, etc. were tracked in bulk. In most cases, containers
were tracked instead of each item. In South Africa,
2. Literature review Blockchain was applied to grape supply chains to interact
between farmers, certifiers, auditors and grape traders
In 2008, [7] published a white-paper on use of Bitcoin through the assistance of digital certified grape boxes.
as a peer to peer Electronic Cash System. Initially, the Each box was identified by a unique barcode number and
Blockchain concept was applied in financial services. the ownership of the box was changed for each
With the invention of first digital currency Bitcoin as transaction [9].
the first Blockchain platform, requirement of trusted
authority or central server to avoid double spending1 of
4. Implementation
Solidity classes were compiled into two parts as
Application Binary Interface (ABI) and Byte Code by
solidity compiler. Encoding and decoding solidity smart
contract calls into data and machine code were used in
Application Binary Interface. Compiled smart contracts
were deployed to Blockchain network using web3.js and
Figure 3. Production process validation. a hexadecimal address was returned when deployment
Food production process and events such as water occurs.
supply source, land history, pest control, fertilizer usage, Business logic and the user actions were governed by
packaging, etc. were identified in data collection and solidity smart contracts. A new season was created by
systematic review of literature. Furthermore, persons farmers to the network and they were governed by
who can validate each process/event were identified. For ‘Campaign’ class. Issuing of products was governed by
each event/process, farmer can place a request, and peer ‘Products’ Solidity class and products were deployed
farmers, agricultural officers or related persons should only by the farmers. Only a product owner was given the
validate the request to gain reputation. Each event was authority to end the transaction at any point of the supply
recorded in Blockchain after the validation process. chain. Products would not be sold which contain its
Figure 3 describes the certification/validation process for transaction state as 'true'.
each event.
Process Summary
Transaction: 0x582c5aa88afB12e9389c8a8f2cee6e9cleldbaî7ff3e2f4673b6539670f40a56
Gas usage: 1101828
Block Number: 2
FigurelO. Blockcreation.
Trat Action
6.1 Recommendation