Skip to main content

Development of an Open Source IoT-Blockchain Platform for Traceability of Fresh Products from Farm to Fork

  • Conference paper
  • First Online:
Blockchain and Applications, 5th International Congress (BLOCKCHAIN 2023)

Abstract

Food traceability is now being given more and more importance, especially due to its benefit in food safety and sustainability. This article will carry out the research, design, development, and validation of a web application based on blockchain technology for food traceability from farm to fork. Thanks to the security, reliability and immutability offered by blockchain, it will be possible to know the status of the product anywhere in the food chain by all the agents involved, among which are farmers, distributors, producers, and end customers. Therefore, greater reliability will be provided in the layout of fresh products and greater security and transparency throughout the process, in addition to protecting all parties involved against fraud and final consumers against the health risks that can cause the consumption of food in poor condition. To do this, a study and design of a blockchain has been carried out, the data model has been designed and the chaincode implementing the functionality has been programmed. On the other hand, a frontend to interact with the backend system through a REST API has been designed and implemented. In addition, a study on the Internet of Things (IoT) devices and their integration with the blockchain is proposed. Last, an evaluation over the functionality of the chaincode, the performance of the REST API and the validity of the solution has been carried out.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 149.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 199.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Md Mehedi, H.O.: Performance analytical comparison of blockchain-as-a-service (BaaS) platforms. In: Miraz, M., Excell, P., Ware, A., Soomro, S., Ali, M. (eds.) Emerging Technologies in Computing. iCETiC 2019. LNICS, Social Informatics and Telecommunications Engineering, vol. 285, pp. 3–18. Springer, Cham (2019). https://doi.org/10.1007/978-3-030-23943-5_1

  2. United Nations Department of Economic and Social Affairs, Population Division (2022). World Population Prospects 2022: Summary of Results. UN DESA/POP/2022/TR/NO. 3

    Google Scholar 

  3. FAO. 2022. Voluntary Code of Conduct for Food Loss and Waste Reduction. Rome. FAO. 2017. Food Traceability Guidance. Santiago. ISBN 978-92-5-109876-9, https://doi.org/10.4060/cb9433en

  4. Government. https://www.mapa.gob.es/es/alimentacion/temas/consumo-tendencias/barometro-del-clima-de-confianza-del-sector-agroalimentario/. Accessed 19 Oct 2021

  5. IBM: https://www.ibm.com/topics/hyperledger. Accessed 03 Nov 2021

  6. Hyperledger Fabric. Chaincode. https://hyperledger-fabric.readthedocs.io/en/v1.0.0-beta/chaincode.html. Accessed 19 Oct 2021

  7. Ethereum. Welcome to Ethereum. https://ethereum.org/en/. Accessed 28 Oct 2021

  8. Frankenfield, J.: Blockchain-as-a-Service (BaaS). https://www.investopedia.com/terms/b/blockchainasaservice-/aas.asp. Accessed 03 Nov 2021

  9. Amazon. https://aws.amazon.com/es/blockchain/?nc1=h_ls. Accessed 03 Nov 2021

  10. Hyperledger. Case Study. https://www.hyperledger.org/learn/publications/walmart-case-study. Accessed 12 Nov 2021

  11. Supply chain movement. https://www.supplychainmovement.com/nestle-trials-blockchain-to-improve-food-ingredient-supply-chain-transparency/. Accessed 12 Nov 2021

  12. Sadawi, A.A., Hassan, M.S., Ndiaye, M.: A survey on the integration of blockchain with IoT to enhance performance and eliminate challenges. IEEE Access 9, 54478–54497 (2021). https://doi.org/10.1109/ACCESS.2021.3070555

    Article  Google Scholar 

  13. Hussain, M., et al.: Blockchain-based IoT devices in supply chain management: a systematic literature review. Sustainability. 13(24), 13646 (2021). https://doi.org/10.3390/su132413646

    Article  Google Scholar 

  14. Feng, H., Wang, X., Duan, Y., Zhang, J., Zhang, X.: Applying blockchain technology to improve agri-food traceability: a review of development methods, benefits and challenges. J. Clean. Prod. 260, 121031 (2020). ISSN 0959-6526, https://doi.org/10.1016/j.jclepro.2020.121031

  15. Tsang, Y.P., Choy, K.L., Wu, C.H., Ho, G.T.S., Lam, H.Y.: Blockchain-driven IoT for food traceability with an integrated consensus mechanism. IEEE Access 7, 129000–129017 (2019). https://doi.org/10.1109/ACCESS.2019.2940227

    Article  Google Scholar 

  16. Bhat, S.A., Huang, N.-F., Sofi, I.B., Sultan, M.: Agriculture-food supply chain management based on blockchain and IoT: a narrative on enterprise blockchain interoperability. Agriculture 12(1), 40 (2022). https://doi.org/10.3390/agriculture12010040

    Article  Google Scholar 

  17. Hyperledger Fabric. The Ordering Service. https://hyperledger-fabric.readthedocs.io/en/release/arch-deep-dive.html. Accessed 23 June 2022

  18. IBM Corp. CA Setup. https://openblockchain.readthedocs.io/en/latest/Setup/ca-setup/. Accessed 23 June 2022

  19. Role of Peers in Hyperledger Fabric. Accessed 23 June 2022

    Google Scholar 

  20. Honar Pajooh, H., Rashid, M., Alam, F., Demidenko, S.: Hyperledger fabric blockchain for securing the edge internet of things. Sensors 21(2), 359 (2021). https://doi.org/10.3390/s21020359

    Article  Google Scholar 

  21. Grecuccio, J., Giusto, E., Fiori, F., Rebaudengo, M.: Combining blockchain and IoT: food-chain traceability and beyond. Energies 13(15), 3820 (2020). https://doi.org/10.3390/en13153820

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nekane Sainz .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Pikatza, A., Sainz, N., González, I., Emaldi, M. (2023). Development of an Open Source IoT-Blockchain Platform for Traceability of Fresh Products from Farm to Fork. In: Machado, J.M., et al. Blockchain and Applications, 5th International Congress. BLOCKCHAIN 2023. Lecture Notes in Networks and Systems, vol 778. Springer, Cham. https://doi.org/10.1007/978-3-031-45155-3_46

Download citation

Publish with us

Policies and ethics