Find in Library
Search millions of books, articles, and more
Indexed Open Access Databases
A Smart Contract for Coffee Transport and Storage With Data Validation
oleh: Cristian Valencia-Payan, Jose Fernando Grass-Ramirez, Gustavo Ramirez-Gonzalez, Juan Carlos Corrales
Format: | Article |
---|---|
Diterbitkan: | IEEE 2022-01-01 |
Deskripsi
Recently there has been an increase in the use of Blockchain technology for multiple purposes; one of them has been food traceability. This technology has increased quality control, safety, and reliability. So, the producers are looking for better ways to trace the products at any supply chain stage to ensure their quality. A smart contract is a transaction protocol that execute automatically when a predefined set of conditions are met. In this paper, we propose a smart contract to monitor the status of the coffee beans in the transport and storage stages with data validation. Using the Hyperledger Fabric Blockchain tool, we deploy a test network of two actors, also known as organizations. The organizations come together to form a channel in the network. Each has a valid identity that helps them verify their signatures over any transaction. We selected JavaScript to write our proposed smart contract for experimental and evaluation purposes. To evaluate the smart Contract, we use Hyperledger Caliper, obtaining an average throughput of 10.4tps and average latency of 0.7s, being fast enough to be used in a real environment, considering the current control conditions of the coffee beans.