SeedChain: A Secure and Transparent Blockchain-Driven Framework to Revolutionize the Seed Supply Chain
Abstract
:1. Introduction
2. Existing Systems
Limitations of Existing Systems
- Lack of digitization: Every monetary transaction and storage entry is recorded on paper. Piles of record registers take up a great amount of space in the form of filing cabinets. These are susceptible to manipulation, theft, fire, water, and bugs. Searching for a record would become a cumbersome task and would lead to a waste of time and labor.
- Extensive corruption: The easy manipulation of records largely contributes to corruption. Authority figures might authorize a fake transit of goods, and the money would get transferred to a bogus account. The seeds are often hoarded so that a state of scarcity can be established and are then sold for a higher price.
- Opaque operations: In the existing system, no operation is logged at any step of the supply chain. In case of any exigency, there would not be any chain of custody to identify the point where things went wrong. There is no transparency in operations, due to which it is easy to hide bogus transactions and shipments.
- Inefficient and slow: There is no automation of any of the tasks, starting from breeder registration and ending with a farmer’s purchase of a packet of seeds. Entering and searching paper records is extremely time-consuming, which becomes a burden to the entire system.
- Security: Records are kept in a file cabinet in an unguarded room, which any intruder can visit and then view the details without any restrictions. This is conducive to data leaks, which could be catastrophic to farmers, as their account details and seed purchase routines could fall into the wrong hands.
- Middleman: The present system comprises middlemen who take advantage of the manual system and sell seeds at a greater price than the maximum retail price by manipulating the taxes for their advantage. In addition, expired seeds are sold with normal seeds. The practice of hoarding and creating a fake demand allows middlemen to sell seeds at a higher price, which causes trouble for farmers.
3. Preliminaries
3.1. Blockchain Technology
3.2. Smart Contracts
3.3. Different Types of Solutions Based on Blockchain Technology
- 1.
- Public blockchain: Nodes in a public blockchain are arranged so that anyone can become a part of the blockchain and participate in mining future blocks of the chain. Such a chain that is accessible by the general public without any restrictions is termed a public blockchain, as depicted in Figure 4.
- 2.
- Private blockchain: A private blockchain refers to an arrangement of nodes for a restricted network rather than being open to everyone willing to contribute processing power. Such a chain is also referred to as a managed blockchain, as only the central authority permits a node to join the chain, as shown in Figure 5.
- 3.
- Hybrid blockchain: In a hybrid blockchain, as depicted in Figure 6, an organization can join a chain, which allows it to use the best of both public and private blockchains. They can create a permission-based system along with a permissionless system. In this manner, the administering organization can control who can access specific data and what data can be open to the public.
- 4.
- Consortium blockchain: Figure 7 depicts the consortium blockchain, as it shares similarities with the hybrid blockchain on the grounds of having both public and private features. The differentiating factor for this blockchain is that various organizations collaborate in a decentralized network, hence eliminating the risk of one entity’s monopoly over the entire network.
4. The Proposed Framework
Algorithm 1 FrmReg: Farmer Registration. |
Input: Takes , , , and as input. Output: Farmer Registered Successfully. |
|
Algorithm 2 BrdReg: Breeder Registration. |
Input: Takes , , , and as input. Output: Breeder Registered Successfully. |
|
Algorithm 3 TransReg: Transporter Registration. |
Input: Takes , , , , and as input. Output: Transporter Registered Successfully. |
|
Algorithm 4 ApprvSeed: For approving seeds. |
Input: Order . Output: Seeds Approved/Rejected. |
|
Algorithm 5 OrdSeed: For ordering seeds. |
Input: Order . Output: completed successfully. |
|
Algorithm 6 Bid: To select transporter T for bid . |
|
|
5. Implementation
5.1. Technology Stack Used
- Ethereum and Solidity: It is an open-source blockchain-based platform employed to create and share business, financial services, and entertainment applications. These contracts are written for various points in the supply chain, especially for interactions between two adjacent entities, such as breeders and FCI, farmers and warehouses, etc. These smart contracts help implement features provided by blockchain, such as storing immutable records of purchases by farmers from the government or documenting the quality of seeds approved by FCI.
- Web3 JS Library: Web3 is a collection of libraries of the World Wide Web that incorporates and facilitates blockchain applications. We have used web3.js, which is an Ethereum JavaScript API that helps in connecting the smart contracts deployed on the chain at the back end to the front end, which is the portal for breeders and FCI and the website available to farmers for purchasing seeds. Therefore, while the purchase of seeds is initiated at the front end by the farmer, the recording of the purchase and the transfer of the order value from the farmer’s wallet to the warehouse address are executed by the contract and are synced with the help of web3.js.
- Ganache and Truffle: Ganache and Truffle are essential for testing the smart contracts and assist in creating a virtual environment to understand the behavior of the deployed contracts in different scenarios. Thus, with the help of these tools, we were able to develop test cases and expand the scope of the contract so that the contract does not fail or produce unexpected results in case of exigency.
- React JS: The React JavaScript library is the open-source library used to develop the front-end user interface and add functionalities to different portals, such as navigation between different pages and registration and the login of different entities. Thus, the web pages displayed to the users and the interaction of users with the portals are made possible with the help of this library.
- Inter Planetary File System (IPFS): IPFS is a method of efficiently storing data and sharing data in a distributed file system. It is designed to hold data in a manner such that no single entity in a network holds the entire table of data. We have utilized IPFS to store data from seed applications and will employ the details in the future with the help of the generated hash.
- Metamask: This wallet is used to assist in the transfer of Ethers among different parties and between parties and smart contracts in instances where the smart contracts store Ethers until an event has been successfully concluded.
- MongoDB: Since every single detail, like user login details, for entities such as breeders, farmers, and logistics companies cannot be stored on-chain, we have used MongoDB services to create a back-end environment and store these details, and it is integrated with the user interface.
5.2. The Architecture of the Proposed System
5.3. Designing the Smart Contract
5.4. Integration
5.5. Feature Analysis
- Decentralization: The proposed workflow transforms the functionality of each entity involved in the supply chain, as there is no single authority that holds data centrally and can manipulate them to an extent that harms anyone in the chain. Blockchain embedding in the existing procedure enables a decentralized procedure for storing relevant data on the chain, such as FCI-approved seeds in the form of a minted token, and the transaction records of the purchases carried out by the farmer.
- Accountability: The notion of updating the status in real time by triggering an appropriate function in a smart contract enables us to identify the responsible entity in the supply chain as accountable and hence figure out where the process is halted in order to optimize the operations of the chain in the near future.
- Transparency: After ordering seeds, a farmer can track his or her order in real time, which ensures that no foul play is possible and that the farmer does not have to worry about his or her order getting misplaced, as the responsible entity can be tagged very easily.
- Immutability: All data written to a blockchain are permanent, and hence, even a minor modification to the data can drastically change the hash of the next block, which will disrupt the entire chain. Since a purchase transaction between a government entity, i.e., the warehouse, and the farmer is recorded onto the chain in a similar fashion, it ensures that the record of the transaction is non-disputable and can be considered legally binding by both parties.
- Security: Modifiers in smart contracts like “onlyFCI” ensure restricted access to calling functions, which enhances security, and most of the payable functions can only be called via the owner address, which means that the contract cannot be modified; unauthorized access is only possible if a person steals the Metamask wallet of the government entity that deploys the contract, i.e., the Food Corporation of India. Further, the blockchain provides the contents of all transactions in an encrypted format, due to which the personal data submitted are anonymous.
- No middlemen: Middlemen are largely responsible for causing corruption in the supply chain, as they have the capability of modifying transactions to create a shortage of products in the warehouse. Corruption is eliminated because all of the processes are automated and the transactions are recorded, due to which modification is restricted.
- Trust-less: Since the existing system comprises multiple parties, to ensure a convenient system where everyone can work, smart contracts are deployed, establishing mutual trust among all entities by ensuring that different entities interact with each other without the need to trust each other.
- Auction-driven Transportation Tenders: Tenders for the transportation of seeds are auctioned, and transporters are granted tenders on the basis of their priorities for the location where they operate, their score, and the they code. Thus, the monopoly of transporters in the system is prohibited, and the proposed system provides equal opportunity for each transporter to participate in tendering.
5.6. Security Analysis
6. Conclusions and Future Work
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- GOI. Indian Seed Sector. 2022. Available online: https://seednet.gov.in/material/IndianSeedSector.htm (accessed on 11 December 2022).
- Caro, M.P.; Ali, M.S.; Vecchio, M.; Giaffreda, R. Blockchain-based traceability in Agri-Food supply chain management: A practical implementation. In Proceedings of the 2018 IoT Vertical and Topical Summit on Agriculture-Tuscany (IOT Tuscany), Tuscany, Italy, 8–9 May 2018; pp. 1–4. [Google Scholar]
- Tribis, Y.; El Bouchti, A.; Bouayad, H. Supply chain management based on blockchain: A systematic mapping study. In MATEC Web of Conferences, Proceedings of the International Workshop on Transportation and Supply Chain Engineering (IWTSCE’18), Morocco, 8–9 May 2018; EDP Sciences: Paris, France, 2018; Volume 200, p. 00020. [Google Scholar]
- Maslove, D.M.; Klein, J.; Brohman, K.; Martin, P. Using blockchain technology to manage clinical trials data: A proof-of-concept study. JMIR Med. Inform. 2018, 6, e11949. [Google Scholar] [CrossRef] [PubMed]
- Iansiti, M.; Lakhani, K.R. The truth about blockchain. Harv. Bus. Rev. 2017, 95, 118–127. [Google Scholar]
- Manski, S. Building the blockchain world: Technological commonwealth or just more of the same? Strateg. Chang. 2017, 26, 511–522. [Google Scholar] [CrossRef]
- Dayana, D.; Kalpana, G. Survey on agri-food supply chain using blockchain. In Proceedings of the 2021 Fifth International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), Palladam, India, 11–13 November 2021; pp. 1619–1626. [Google Scholar]
- Vukolić, M. The quest for scalable blockchain fabric: Proof-of-work vs. BFT replication. In Proceedings of the Open Problems in Network Security: IFIP WG 11.4 International Workshop, iNetSec 2015, Zurich, Switzerland, 29 October 2015; Revised Selected Papers. Springer: Berlin/Heidelberg, Germany, 2016; pp. 112–125. [Google Scholar]
- Kaijun, L.; Ya, B.; Linbo, J.; Han-Chi, F.; Van Nieuwenhuyse, I. Research on agricultural supply chain system with double chain architecture based on blockchain technology. Future Gener. Comput. Syst. 2018, 86, 641–649. [Google Scholar]
- Dayana, D.; Kalpana, G. Augmented system for food crops production in agricultural supply chain using blockchain technology. Int. J. Adv. Comput. Sci. Appl. 2022, 13, 579–589. [Google Scholar] [CrossRef]
- Chang, Y.; Iakovou, E.; Shi, W. Blockchain in global supply chains and cross border trade: A critical synthesis of the state-of-the-art, challenges and opportunities. Int. J. Prod. Res. 2020, 58, 2082–2099. [Google Scholar] [CrossRef]
- Yadav, V.S.; Singh, A.R.; Raut, R.D.; Govindarajan, U.H. Blockchain technology adoption barriers in the Indian agricultural supply chain: An integrated approach. Resour. Conserv. Recycl. 2020, 161, 104877. [Google Scholar] [CrossRef]
- Sharma, S.K.; Singh, V. Digitization of the food industry enabled by Internet of Things, blockchain, and artificial intelligence. In Current Developments in Biotechnology and Bioengineering; Elsevier: Amsterdam, The Netherlands, 2022; pp. 421–445. [Google Scholar]
- Sanka, A.I.; Irfan, M.; Huang, I.; Cheung, R.C. A survey of breakthrough in blockchain technology: Adoptions, applications, challenges and future research. Comput. Commun. 2021, 169, 179–201. [Google Scholar] [CrossRef]
- Kawaguchi, N. Application of blockchain to supply chain: Flexible blockchain technology. Procedia Comput. Sci. 2019, 164, 143–148. [Google Scholar] [CrossRef]
- Morris, M.L.; Bellon, M.R. Participatory plant breeding research: Opportunities and challenges for the international crop improvement system. Euphytica 2004, 136, 21–35. [Google Scholar] [CrossRef]
- Chiurugwi, T.; Kemp, S.; Powell, W.; Hickey, L.T. Speed breeding orphan crops. Theor. Appl. Genet. 2019, 132, 607–616. [Google Scholar] [CrossRef] [PubMed]
- Vertical coordination in agri-food supply chain and blockchain: A proposed framework solution for Vietnamese cashew nut business. Reg. Sci. Policy Pract. 2024, 16, 12576.
- Albaaji, G.F.; Chandra, S. Blockchain technology in agriculture: Digitizing the Iraqi agricultural environment. Environ. Dev. Sustain. 2024, 1–12. [Google Scholar] [CrossRef]
- Bansal, A.; Tewari, A.; Sharma, A.; Bansal, A. Implementations and Rationale for Blockchain Technique in Agriculture. In Applications of Computer Vision and Drone Technology in Agriculture 4.0; Springer: Berlin/Heidelberg, Germany, 2024; pp. 83–92. [Google Scholar]
- Patel, H.; Shrimali, B. AgriOnBlock: Secured data harvesting for agriculture sector using blockchain technology. ICT Express 2023, 9, 150–159. [Google Scholar] [CrossRef]
- Zeng, H.; Dhiman, G.; Sharma, A.; Sharma, A.; Tselykh, A. An IoT and Blockchain-based approach for the smart water management system in agriculture. Expert Syst. 2023, 40, e12892. [Google Scholar] [CrossRef]
- van Ginkel, M.; Ortiz, R. Cross the best with the best, and select the best: HELP in breeding selfing crops. Crop. Sci. 2018, 58, 17–30. [Google Scholar] [CrossRef]
- Nakamoto, S. Bitcoin: A Peer-to-Peer Electronic Cash System. 2009. Available online: https://metzdowd.com (accessed on 3 March 2024).
- Khan, S.; Loukil, F.; Ghedira, C.; Benkhelifa, E.; Bani-Hani, A. Blockchain Smart Contracts: Applications, Challenges, and Future Trends. Peer-Peer Netw. Appl. 2021, 14, 2901–2925. [Google Scholar] [CrossRef] [PubMed]
- Devrani, S.; Ahuja, R.; Goel, A.; Kharbanda, S.S. A blockchain-driven framework for issuance of NFT-based warranty to customers on E-commerce. In Proceedings of the 16th International Conference, MIWAI 2023, Hyderabad, India, 21–22 July 2023; Springer: Berlin/Heidelberg, Germany, 2023; pp. 265–276. [Google Scholar]
- Rehal, M.; Ahuja, R.; Gandhi, D.; Sharma, A. A Blockchain-Based Custom Clearance Solution for International Trade Using IPFS and Non-fungible Tokens. In Proceedings of the International Conference on Data Analytics & Management, London, UK, 23–24 June 2023; Springer: Berlin/Heidelberg, Germany, 2023; pp. 551–564. [Google Scholar]
- Singh, P. Role of Blockchain Technology in Digitization of Land Records in Indian Scenario. IOP Conf. Ser. Earth Environ. Sci. 2020, 614, 012055. [Google Scholar] [CrossRef]
- Thakur, K.S.; Ahuja, R. Safeguarding Justice Employing Blockchain-Enabled Secure Chain of Custody Framework for Digital Evidence. In International Conference on Electrical and Electronics Engineering, Proceedings of the The 4th International Conference on Electrical and Electronics Engineering (ICEEE), Chitkara University, Himachal Pradesh, India, 19–20 August 2023; Springer: Berlin/Heidelberg, Germany, 2023; pp. 1–11. [Google Scholar]
- Khan, R.; Ansari, S.; Sachdeva, S.; Jain, S. Blockchain based land registry system using Ethereum Blockchain. Xi’An Jianzhu Keji Daxue Xuebao/J. Xi’An Univ. Archit. Technol. 2020, 12, 3640–3648. [Google Scholar]
Method | Function Used | Explanation |
---|---|---|
Ordering Seeds | addOrder() | This is called to store the order placed by a farmer. |
acceptOrder() | Authorized warehouses call this to accept the placed order. | |
reqTransit() | This is called to request the transit of the order shipment, and as a result, the status of the order shifts to “REQ-TRANSIT”. | |
ackTransit() | An authorized logistic company calls this function and updates the status to “TRANSIT ACKNOWLEDGED”. | |
reqDelievery() | Transit calls this method to request admission of delivery and simultaneously change the status to “REQUESTING DELIVERY”. | |
ackDelievery() | Once the status is changed to “DELIVERYACKNOWLEDGED”, this is the final payable method that can only be called by the farmer. | |
Seeds Approval | addSubmission() | This adds a new submission for the breeder to the chain and updates the status of the process to “SUBMITTED”. |
acceptSubmission() | FCI calls this to accept the submission, which updates the status to the “ACCEPTED” state. | |
approveSubmission() | FCI calls this to mint an NFT for seeds with the seed name, timestamp, and approved quality standards. | |
Warehouse | addWarehouse() | FCI calls this to add a new warehouse to the list of approved warehouses. |
remWarehouse() | FCI calls this to remove a warehouse from the list of approved warehouses. |
Features | Existing | Proposed |
---|---|---|
Decentralization | - | ✓ |
Accountability | Low | High |
Transparency | Low | High |
Immutability | - | High |
Security | Low | High |
Middlemen | Yes | No |
Trust-less | Low | High |
Fair Tenders | Low | High |
NFT-Driven Seed Approval | - | ✓ |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Ahuja, R.; Chugh, S.; Singh, R. SeedChain: A Secure and Transparent Blockchain-Driven Framework to Revolutionize the Seed Supply Chain. Future Internet 2024, 16, 132. https://doi.org/10.3390/fi16040132
Ahuja R, Chugh S, Singh R. SeedChain: A Secure and Transparent Blockchain-Driven Framework to Revolutionize the Seed Supply Chain. Future Internet. 2024; 16(4):132. https://doi.org/10.3390/fi16040132
Chicago/Turabian StyleAhuja, Rohit, Sahil Chugh, and Raman Singh. 2024. "SeedChain: A Secure and Transparent Blockchain-Driven Framework to Revolutionize the Seed Supply Chain" Future Internet 16, no. 4: 132. https://doi.org/10.3390/fi16040132
APA StyleAhuja, R., Chugh, S., & Singh, R. (2024). SeedChain: A Secure and Transparent Blockchain-Driven Framework to Revolutionize the Seed Supply Chain. Future Internet, 16(4), 132. https://doi.org/10.3390/fi16040132