<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Blockchain - A Step towards Innovation in Agriculture</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Ashish Kumar</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Shivam Goyal</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Anju B. Gandhi</string-name>
          <email>anjugandhi.cse@piet.co.in</email>
        </contrib>
      </contrib-group>
      <abstract>
        <p>Blockchain technology played a major role in the foundation of cryptocurrency and now it is receiving tremendous attraction due to its application and use cases. Blockchain allows us to make the transaction in a secured manner in a decentralized system as blockchain is distributed, decentralized, and public ledger. Blockchain technology can be applied in various fields such as banking, IoT, cryptocurrency, and much more. In today's world, blockchainbased applications can be used as supply chains in various fields such as pharmacy, agriculture, food chain, and many more, as the supply chain is mainly used for tracking. Blockchain in agriculture as a supply chain can be used mainly for tracking of crops, certified seeds, vegetables, and much more. Hyperledger is the open-source umbrella project under which it provides frameworks for the application of blockchain. Blockchain technology provides a secure and fraud-free environment for the supply of various essentials in agriculture. We have research that in India, currently there is not any blockchain based application in agriculture and there is not any secured tracking system also so in this research paper, we will provide you an overview of the blockchain, its history, frameworks that we are using in agriculture, architecture, and how to apply blockchain for a web application and many more. Further, we will also describe the use-cases of blockchain, Stakeholders, the feasibility of blockchain as a supply chain in agriculture, and finally the conclusion.</p>
      </abstract>
      <kwd-group>
        <kwd>1 Blockchain</kwd>
        <kwd>Agriculture</kwd>
        <kwd>Decentralized</kwd>
        <kwd>Supply chain</kwd>
        <kwd>Hyperledger</kwd>
        <kwd>Tracking</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        data breaches in this technology is null. As blockchain uses hashingtechniques to store the data and
hashes will be unique and it is impossible to un-hash or reverse the process to get the data. Data in
blockchain will be stored in multiple nodes, if anyone tries tomanipulate the data then one will not
able to do so because with the help of consensus algorithmsdatawill be checked at every node, and
manipulating with data may result in a change in theaddress of that node. In the blockchain-based
tracking system, there will be transparency [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] fromstarting point to an endpoint which increases the
traceability[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] of the products to meet thecorporate standards. Well, according to our survey conducted
from 1 April 2021 - 26th April2021, 950 people out of 1100 people want to know from where the
product has come andWhether the product they are getting is 100% original or not or the companies
are just providingthem the stuff that they have repacked the old product. With the application of
blockchain, fraudwill have completely vanished. After the successful implementation of blockchain,
all thestakeholders will be connected through the blockchain network and they can easily
communicatewith each other. Blockchain can be proved to be the biggest revolution in the Agriculture
industry.
      </p>
      <p>According to ASPA,15% of samples are of low quality (Whose quality are lower than the
expected), 15.8% are sub-standard (they are not following the quality standard), 3.7% of samplesare
Unsafe (they are unsafe to consume), 9% are mislabeled (they are not labeled correctly, not original).
To tackle these problem scenarios blockchain should come into existence. As blockchain provides
security and transparency which helps to track the products from starting point to an endpoint,
ultimately which helps us to vanish all these problems completely.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Blockchain Frameworks</title>
      <p>In the blockchain, there are many frameworks and tools such as Steller, Tazos, Hyperledger fabric,
hyperledgersawtooth, ripple, quorum, hyperledgerIroha, Corda, neo, eos, open chain, ethereum etc.
But we will be using hyper ledger fabric for our blockchain project. It is under hyperledger which is an
umbrella project of an open-source community and created in December of 2015 by the Linux
foundation. Hyperledger gets support from many companies or organizations such as IBM, Intel, and
Sap Ariba, etc. It is considered to be the best blockchain framework because it allows components like
membership service and consensus as a plug-and-play feature. It is based on modular and
configurational architecture. It became the only and first blockchain framework that has released its
2.0 version which shows the popularity of this framework. With the help of hyper ledger fabric, we
can create public, private, distributed [4] and decentralized enterprise-level applications using
plugand-play components. This is also permission which means all the nodes in the network are known to
each other rather than that they are unknown to each other. In this framework, we can create multiple
channels which can allow the organizations to utilize the same network with the help of these
channels. There is also a membership service provider (MSP) which identifies the user’s ID and
authenticates them to join the network. It generally contains four types of peers which are:</p>
    </sec>
    <sec id="sec-3">
      <title>2.1.Endorsing Peer</title>
      <p>It generally came under the category of committing peer with some special roles i.e. to endorse a
transaction which is sent by the client. Each and every endorsing peer owns a copy of the smart
contract installed and ledger. The main function of endorsing peers is to initiate the transaction.</p>
    </sec>
    <sec id="sec-4">
      <title>2.2.Committing Peer</title>
      <p>Peers who have to commit the transactions in the block which is obtained from the ordering service,
this block contains that transactions which committing peer have to validate them and it will also
check whether the transaction is valid or not and then finally will commit them to the block.</p>
    </sec>
    <sec id="sec-5">
      <title>2.3.Anchor Peer</title>
      <p>Anchor peer has.</p>
    </sec>
    <sec id="sec-6">
      <title>2.3.1.Leading Peer</title>
      <p>Anchor Peer are the special peer which can communicate across multiple organizations. All the
peers have not the power to communicate to the multiple organizations in the fabric network but</p>
      <p>On each channel to which member subscribes, each member may own several peers. One of these
peers acts as the channels’ leading peer and it communicates with thenetwork ordering service on the
member’s behalf. The ordering service sends blocks to the channels’ leading peer(s), who disperse
them to other peers in the same participant cluster.</p>
    </sec>
    <sec id="sec-7">
      <title>3. Revolution in agriculture Industry</title>
      <p>The most important concern in supply chain management is the alterations and the quality which
degrades in between the time of transportation. There is no proper monitoring system in case of the
agriculturefield. Sometimes stakeholders misunderstood the quantity of food they have which causes a
great problem as a result the amount which is to be used by people gets rotten. Also, there is an
unavailability of a proper tracking system by which one can know if the product is original or not.
Especially in the case of seeds and costly fruits, it became very important for every person to know
about the quality of the product. Due to the lack of a tracking system, onecan not know where does the
product comes from i.e. starting point to endpoint. Blockchain tracking systems come into existence
when there are two or more two organizations and they can not trust each other. One can achieve all
these things with one shot i.e. using blockchain. With the application of blockchain, we can apply a
real-time end-to-end tracking system. We can use the blockchain as a supply chain. All the data will be
stored in the blockchain blocks as the data will be most secured and unhackable. There will be a
transparent supply chain as all the data will be visible to the users and there will be assurity of the
product whether it is original or not. Now after the application of blockchain one can know from
where does the product comes from i.e from starting point to the endpoint as it is the transparent
supply chain. All the stakeholders will be connected to each other in a blockchain network and can
communicate with each other. Now there will be not a single point of failure if one node becomes a
fail, as all others nodes are active in blockchain blocks and data can not be manipulated by someone.
Blockchain will be proved to be a revolution in the agriculture industry by which every single flaw
will vanish.</p>
    </sec>
    <sec id="sec-8">
      <title>4. Ideation</title>
      <p>A blockchain-based tracking system for the products to track them in real-time from starting point
to endpoint from manufacturer to the consumer i.e tracking of certified seeds as shown in above fig. .
There will be assurity that the productis original or not. Product will be tracked through unique
product ID and order ID etc.During the supply of products i.ecertified seeds from department outlets
to the seed corporations and from seed corporations to the private outlets, all the data at each and every
point fromend to end journey will be stored in the blockchain blocks, and if there is any change that
will be recorded.</p>
    </sec>
    <sec id="sec-9">
      <title>5. High-Level architecture solution</title>
      <p>This is the high-level architecture solution for the supply chain management or tracking system in
the agriculture industry i.e tracking of certified seeds. First of all certified seeds will onboard from
agricultural farm or manufacturer to the departmental outlets and blockchain smart contracts will be
activated, where certificates as like certificate of origin, lot number, shipmentdate, order number and
certificate number, etc will be checked through smart contracts to ensure whether the same package
has been delivered or not. And all the data will be recorded in the blockchain blocks. Now the certified
seeds will onboard from department outlets to the corporations and blockchain smart contracts will get
activated, where certificates like certification of origin, lot number and production data, etc. will be
checked with the help of smart contracts to ensure that the same package is delivered or not. And all
the data will be stored in blockchain blocks. After that the package will onboard to the distributor
where they again check the details such as shipment, order number, certificate number, the
temperature of the product, and barcode, and data will be entered in blockchain blocks.</p>
    </sec>
    <sec id="sec-10">
      <title>6. Technical Workflow</title>
      <p>The below figure is about our technical workflow. In this section, we will explain how the technical
things will work out from starting point to the endpoint. In this section, we will also explain the
technologies we have used.
The front-end is the main part of any web application which is seen by the user. It is the part that
creates a direct impact on the user. For this, we are using HTML, CSS, bootstrap, thymeleaf,
andjavascript. Thymeleaf also can be used as a server-side language. For the backend part we are
using Kafka, hyperledger fabric, spring-boot. And we are using MongoDB as a database for our
system. Kafka is a data streaming tool that is used in the real-time data pipeline. Springboot is a java
framework from which we can create standalone enterprise-level applications in minimum time as it
has spring auto configurations and a built-in Tomcat server. Hyperledger Fabric is a blockchain
framework from which we can create permission or private application. It is the only blockchain
framework that has 2.0 support. We are using MongoDB as our database because it is a NoSQL
document type database. MongoDB uses JSON-like documents with optimal schemas. We are using
docker as our infrastructure layer. It is a set of the platform which uses OS-level virtualization. It
helps in packing up all the required software and packages into one package called a container. Kafka,
MongoDB, and spring-boot are running on docker as docker is our infrastructure layer. First of all, the
user will access the web app and then one has to sign up, now after login user will generate the queries
and Kafka connect source which has many brokers and topics, running on docker will take that queries
to the database MongoDB and Kafka connect sink will take the queries from a database and come
back to the user. From the manufacturer to the consumer such as manufacturer, distributor, dealer, and
consumer all are trusted parties which are connected in a blockchain network and these parties can
communicate to each other through blockchain network. Hyperledger has many frameworks, we are
using one from them which is hyperledger fabric.</p>
    </sec>
    <sec id="sec-11">
      <title>Idea Feasibility 7.1.</title>
    </sec>
    <sec id="sec-12">
      <title>Cost-Efficient 7.2.</title>
    </sec>
    <sec id="sec-13">
      <title>Assurance 7.3.</title>
    </sec>
    <sec id="sec-14">
      <title>Security</title>
      <p>This will be a cost-efficient method as one doesn’t need any external hardware for the application of
blockchain. Also, a team of good engineers can handle all the things. Also, it is an open-source project
so one doesn’t need to buy any software for the application of blockchain.</p>
      <p>After the application of Blockchain it will be assured that the person will get the same product as it
was sent by the seller or if there will be any change in the product it will be reflected and we got to
know at which point it had happened.</p>
      <p>Data security is the most important thing that a user wants nowadays. Blockchain is well known in this
field. It provides 100% security. After the application of Blockchain, the system is unhackable. In the
case of data breach detection will be captured by our technical workflow before something messed up.
7.4.</p>
    </sec>
    <sec id="sec-15">
      <title>Transparent Supply Chain</title>
      <p>In this Blockchain-enabled tracking system there will be a transparent supply chain. Everything will
be stored in blocking from starting point to endpoint. Due to this transparency now everyone will be
able to know where does the package comes from and where it has been manufactured and all the
information about the package.
7.5.</p>
    </sec>
    <sec id="sec-16">
      <title>Fraud prevention</title>
      <p>After the successful application of blockchain rate of fraud will become negligible due to which the
economy will get a boost and customers will be more aware of their package. As a result, the customer
satisfaction rate will be increased.</p>
    </sec>
    <sec id="sec-17">
      <title>8. Stakeholders of Supply Chain</title>
      <p>•
•
•
•</p>
      <sec id="sec-17-1">
        <title>Manufacturer</title>
      </sec>
      <sec id="sec-17-2">
        <title>Distributer</title>
      </sec>
      <sec id="sec-17-3">
        <title>Dealer</title>
      </sec>
      <sec id="sec-17-4">
        <title>Consumer</title>
        <p>First of all, the manufacturer will manufacture the product and market with the unique id and all the
information such as unique id, price, date of manufacture, etc. will be recorded in the blockchain
blocks. Now the distributor will check whether theproduct is original or not with the help of some
unique identifiers like bar code, date of manufacture, etc. All these things will be captured in the
blockchain from the end of thedistributor. Now dealer will reconfirm the details that were entered by
the distributes so that he can confirm that the product he has received is original and the dealer will
again enter all the information about the product that will be stored in the blockchain block. Now
finally consumer will check the originality of the product and will enter all the details of the product
he received.</p>
      </sec>
    </sec>
    <sec id="sec-18">
      <title>9. Conclusion</title>
      <p>We need a change in the agriculture industry and blockchain will be proved to be a revolution in
this industry. The application of Blockchain as a supply chain is a new era in the world and will
become fruitful in the agriculture industry. Though this technology has some limitations that it can
only be implemented having resources like powerful computers. This technology based web
application needs much more time as compared to other technologies. More than one-fourth of our
total food got wasted because of a lack of proper and transparent supply chain management. After the
application of blockchain, we will able to reduce this amount of food wastage to a greater extent which
will help in feeding humanity with this huge amount of food. Also,a major problem related to current
supply chain management is that the people won’t get the same quality item they have ordered. With
the application of blockchain, it becomes fully transparent and now consumers will be able the
reconfirm the quality of the product, and users will able to know about the quality of the item. Also,
we can integrate this application of blockchain with AI and IoT in the future. After the integration of
AI and IoT in blockchain, it will become the most powerful and secured application. Further
blockchain technology can be extended in other fields such as Blockchain-assisted secure fine-grained
searchable encryption for a cloud-basedhealthcare cyber-physical system[13].
10. Acknowledgments</p>
      <p>The authors are grateful for our Institute Panipat Institute Of Engineering &amp; Technology, Panipat,
Haryana, India to helpus in researching the application of blockchain in agriculture.
systemfor permissioned blockchains." In Proceedings of the thirteenth EuroSys conference,
pp.1-15. 2018.
[4] Abeyratne, Saveen A., and Radmehr P. Monfared. "Blockchain ready manufacturing supply
chain using distributed ledger." International Journal of Research in Engineering and
Technology 5, no. 9 (2016): 1-10.
[5] Lyasnikov, Nikolai V., Elena AleksandrovnaSmirnova, Galina Nikiporets-Takigawa,
TatyanaVladimirovnaDeeva, and NataliyaVladimirovna Vysotskaya. "Blockchain technology:
supply chainmanagement." IIOAB Journal 11, no. S3 (2020): 1-7.
[6] Rejeb, Abderahman, John G. Keogh, and Horst Treiblmaier. "Leveraging the internet of things
and blockchain technology in supply chain management." Future Internet 11, no. 7 (2019): 161.
[7] Schmidt, Christoph G., and Stephan M. Wagner. "Blockchain and supply chain relations: A
transaction cost theory perspective." Journal of Purchasing and Supply Management 25, no. 4
(2019): 100552.
[8] Kamilaris, Andreas, Agusti Fonts, and Francesc X. Prenafeta-Boldύ. "The rise of blockchain
technology in agriculture and food supply chains." Trends in Food Science &amp; Technology 91
(2019): 640-652.
[9] Demestichas, Konstantinos, Nikolaos Peppes, TheodorosAlexakis, and EvgeniaAdamopoulou.
"Blockchain in Agriculture Traceability Systems: A Review." Applied Sciences 10, no. 12
(2020): 4113.
[10] Wingreen, Stephen, and Ravishankar Sharma. "A blockchain traceability information system for
trust improvement in agricultural supply chain." (2019).
[11] Esposito, Christian, Massimo Ficco, and BrijBhooshan Gupta. "Blockchain-based
authentication and authorization for smart city applications." Information Processing &amp;
Management 58, no. 2 (2021): 102468.
[12] Poonia, Vikas, Manish Kumar Goyal, B. B. Gupta, Anil Kumar Gupta, SrinidhiJha, andJew
Das. "Drought occurrence in Different River Basins of India and blockchain technology based
framework for disaster management." Journal of Cleaner Production (2021): 127737.
[13] Gupta, Brij B., Kuan-Ching Li, Victor CM Leung, Kostas E. Psannis, and ShingoYamaguchi.
"Blockchain-assisted secure fine-grained searchable encryption for a cloud-basedhealthcare
cyber-physical system." IEEE/CAA Journal of AutomaticaSinica(2021).
[14] Nguyen, GiaNhu, Nin Ho Le Viet, Mohamed Elhoseny, K. Shankar, B. B. Gupta, andAhmed A.</p>
      <p>Abd El-Latif. "Secure blockchain enabled Cyber–physical systems in healthcare usingdeep
belief network with ResNet model." Journal of Parallel and Distributed Computing 153(2021):
150-160.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Kamilaris</surname>
            , Andreas,
            <given-names>Agusti</given-names>
          </string-name>
          <string-name>
            <surname>Fonts</surname>
          </string-name>
          , and
          <string-name>
            <surname>Francesc</surname>
            <given-names>X.</given-names>
          </string-name>
          <string-name>
            <surname>Prenafeta-Boldύ</surname>
          </string-name>
          .
          <article-title>"The rise of blockchaintechnology in agriculture and food supply chains." Trends in Food Science &amp; Technology91 (</article-title>
          <year>2019</year>
          ):
          <fpage>640</fpage>
          -
          <lpage>652</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Xiong</surname>
            , Hang, Tobias Dalhaus,
            <given-names>Puqing</given-names>
          </string-name>
          <string-name>
            <surname>Wang</surname>
            , and
            <given-names>Jiajin</given-names>
          </string-name>
          <string-name>
            <surname>Huang</surname>
          </string-name>
          .
          <article-title>"Blockchain technology foragriculture: applications and rationale." frontiers in Blockchain 3 (</article-title>
          <year>2020</year>
          ):
          <fpage>7</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Androulaki</surname>
          </string-name>
          , Elli, Artem Barger, Vita Bortnikov, Christian Cachin, Konstantinos Christidis,Angelo De Caro, David Enyeart et al.
          <article-title>"Hyperledger fabric: a distributed operating</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>