Submitted:
25 May 2024
Posted:
28 May 2024
You are already at the latest version
Abstract
Keywords:
1. Introduction
- We leverage blockchain to enhance pricing transparency and supply chain traceability with a decentralized approach. Moreover, by establishing a secure and tamper-proof record of transactions, our framework effectively reduces fraud and corruption, fostering trust among stakeholders and facilitating ethical sourcing practices.
- We utilize IPFS to facilitate a peer-to-peer distributed file system and provide effective off-chain storage. By leveraging IPFS, the paper ensures the protection of sensitive information and maintains data integrity, thereby enhancing the overall security framework of the system.
- Additionally, we employ DP with the Laplace mechanism to safeguard sensitive data during the data-sharing process. This innovative approach guarantees the rigorous protection of individual privacy and data confidentiality while facilitating the sharing of crucial information among stakeholders. As a result, it significantly enhances the overall security and integrity of blockchain-based RSCM systems."
2. Background
2.1. Supply Chain Management
2.1.1. Cambodia Rubber Value Chain

2.2. Blockchain
2.2.1. Blockchain Platform
- Ethereum: Ethereum is a decentralized system that allows smart contracts to function. Ethereum creates machine code from smart contracts, which are then run by the Ethereum virtual machine (EVM) [21]. Ethereum smart contracts use an account-based data structure where each user is identified by their digital wallet [22]. Ethereum employs the computationally costly PoW consensus process, just like Bitcoin [12]. However, Proof-of-Stake (PoS) will soon replace PoW on Ethereum, expanding Ethereum through Eth2 enhancements [18]. Gas functions as an internal charge for executing a transaction to offset ETH’s unstable value [21]. Ether, the native cryptocurrency token of Ethereum, provides an engine for transaction execution and ecosystem-wide interaction with DApps [22]. Efforts to address scalability challenges are motivated by modest transaction latency and current scalability restrictions, assessed at 15 transactions per second (TPS) [23]. The large Ethereum development community continuously optimizes the protocol and contributes to regular upgrades [18].
- Hyperledger Fabric: Hyperledger Fabric, a distributed ledger technology (DLT) within the Hyperledger project overseen by the Linux Foundation [20], offers a distinct approach to smart contract execution. Unlike Ethereum’s reliance on a Virtual Machine (EVM), Fabric leverages Docker containers for smart contract code deployment. This strategy provides enhanced isolation and resource efficiency compared to VMs [24]. While initially receiving substantial investment from IBM, Fabric’s open-source nature promotes collaboration and prevents single-entity dominance. Fabric supports traditional high-level languages like Java and Go, contrasting with Ethereum’s domain-specific languages [25]. Fabric maintains Turing completeness, ensuring the network’s ability to perform general-purpose computations. Fabric employs a key-value data model for state representation. Designed for enterprise deployment, Fabric implements a permissioned blockchain model, requiring network participation authorization from Certificate Authorities (CAs) [4]. Multiple CA types serve distinct roles within the network. Fabric’s permissioned structure streamlines consensus mechanisms, optimizing for efficiency within controlled environments [26].
- R3 Corda: Corda focuses on use cases addressing digital currencies and assets, providing a framework for managing and documenting digital asset ownership [27]. High-level programming languages like Java and Kotlin are used to write Corda’s smart contracts, running in the Java Virtual Machine (JVM). Corda confirms transaction validity only among immediate parties involved, not throughout the network [27]. With a focus on asset statuses and their changes, Corda uses a transaction-based data architecture, often resulting in its deployment in private, permissioned blockchains [28]. Corda’s permissioned structure and use of the Raft consensus method speed up consensus achievement [29]. Raft operates as a "leader and follower" ordering service, with decisions replicated by a predetermined leader node. It uses a crash-fault-tolerant (CFT) architecture, guaranteeing consensus finality and protocol protection even if some network components fail [14].
2.2.2. Smart Contract in Hyperledger Fabric
2.2.3. IPFS with Hyperledger Fabric
3. Proposed Framework
3.1. System Overview
3.1.1. Use Case
- Farmer Organization: Farmer organizations provide the basis for cultivating rubber trees, harvesting latex, and processing it into useful forms such as bales or sheets. They start the rubber’s journey by connecting it to the supply chain network.
- Distributor Organization: Distributors act as intermediaries between manufacturers and Farmers. They assure a continual supply of materials throughout the production process by purchasing raw rubber from Farmers, overseeing its storage, and distributing it to manufacturers according to their demands.
- Manufacturer Organization: To make a wide variety of rubber goods, such as tires, hoses, and seals, they buy raw rubber from distributor organizations. They provide value through manufacturing processes by converting raw resources into completed commodities.
- Exporter Organization: Exporters enable commerce between countries. By acquiring completed rubber goods from producers, managing export paperwork and shipping, and guaranteeing that the goods get to global consumers, they help the rubber sector grow internationally.
- Retailer Organization: Retailers are the last port of call. Completed rubber goods are acquired from exporters or distributors and sold to customers via a variety of channels, including retail locations and internet retailers. They bring the finished product to the people who use rubber items on a daily basis, serving as the last point of sale.
- Consumer Organization: Retailers are the last port of call. Completed rubber goods are acquired from exporters or distributors and sold to customers via a variety of channels, including retail locations and internet retailers. They bring the finished product to the people who use rubber items on a daily basis, serving as the last point of sale.
- IPFS Organization: The IPFS, a decentralized and impenetrable network platform, is run by the IPFS group. This system promotes openness and confidence across the supply chain by enabling the safe storage and exchange of critical rubber-related data, including contracts, certifications, and sensor data.
3.1.2. System Architecture
- Stakeholder Engagement: Initially, stakeholders, including Farmers, manufacturers, and retailers, interact with the system via mobile and web interfaces. These interfaces are designed for intuitive use, allowing stakeholders to input data, retrieve information, monitor processes, and make informed decisions efficiently. Moreover, this user-friendly approach facilitates widespread accessibility and constant communication, crucial for real-time supply chain management.
- IoT Sensor Integration: Subsequently, the system incorporates IoT devices such as plantation monitor devices, GPS trackers, and RFID sensors. These devices are instrumental in collecting real-time data and tracking the movement of goods across the supply chain. They connect using various protocols, including 3G/4G/5G, Wi-Fi, and Bluetooth, ensuring comprehensive coverage and connectivity. Data collected from these devices are typically transmitted via an MQTT message broker, which is a standard protocol for IoT communications, enhancing the reliability and timeliness of data transmission.
- Blockchain Interaction: Moreover, the core of the system utilizes Hyperledger Fabric, a permissioned blockchain framework known for its robust security features and performance efficiency. Interaction between the users and IoT devices with the blockchain is facilitated through API interfaces using the Fabric SDK. All transactions are conducted over HTTPS to ensure secure and reliable data transmission. This setup ensures that all interactions within the supply chain are immutable and verifiable, enhancing trust among all participants.
- Off-Chain Data Storage: For managing sensitive data such as images and confidential documents, the system employs SHA-256 encryption and stores this data off-chain in the IPFS. This approach prevents the blockchain from being overwhelmed by large volumes of data while ensuring that the data remains accessible and secure. Metadata for these files, along with content identifiers (CIDs), are anchored to the blockchain, maintaining the integrity and traceability of off-chain stored data.
- On-Chain Process Flow: Within the blockchain, various organizational entities interact through dedicated channels termed ’SUPPLY CHAIN CHANNEL’. These interactions involve peers (P), chaincode (CC), and ledgers (L) for different entities such as Farmers, distributors, and consumers. This delineation facilitates efficient and secure transaction processing and information flow within the network.
- Network Configuration: Lastly, the network configuration of the system is designed to be modular. Components such as the ORDERER play a crucial role in the consensus and ordering of transactions into blocks. The System Channel Code manages network-wide settings, and the System Ledger records the state of the network, with an anchor peer serving as a synchronization point for organizational data.
3.2. Transaction Flow

3.3. Consensus Protocol
3.4. Secured Data Sharing Protocol based on Differential Privacy Using Laplace Algorithms
3.4.1. Vulnerable Scenario in the HLF-based Network
3.4.2. Solution for the Data Sharing in HLF-Based Network
- Pr is the probability function, denoting a specific event.
- represents the randomized function applied to dataset D.
- S is the set of possible outputs of K.
- is a dataset differing in at most one element from D.
- is the privacy parameter which controls the privacy guarantee.
- f represents the query function applied to a dataset.
- y represents the noise added.
- is typically 0 (centering the distribution at 0).
- b is the scale parameter.
- represents the sensitivity of function f, measuring the maximum change in its output from a single data alteration.
4. Implementation and Evaluation
| Parameter | Value |
|---|---|
| Operating System | Ubuntu 20.04.1 LTS 64-bit |
| CPU | Intel® Core™ i7-7700 8 CPU @ 3.60GHz |
| RAM | 8 GB |
| Minifab for Hyperledger Fabric | 2.5 (Latest) |
| IPFS | 12 |
| Hyperledger Caliper | 2.0 |
| Docker-compose | 1.29.2 |
| Docker | 25.0.3 |
| Go | 1.20.2 |
| Google Differential Privacy Library (Go) | 1.1.2 |
4.1. Implementation
4.1.1. Ledger Initialization

4.2. Batch Transaction
4.2.1. Growth Batch Transaction
| Algorithm 2:Create a batch in Farmer Contract |
|
4.2.2. Query Grown Batch Transaction

4.3. IPFS Integration
4.3.1. Add Information and File to IPFS
| Algorithm 4:Upload data to IPFS |
|
4.3.2. Retrieve Data from IPFS
| Algorithm 5:Retrieve Data from IPFS |
|
4.4. Differential Privacy for Data Sharing

4.5. Starting Fabric Network
4.6. Setting Up Channel
4.7. Set Up Organization Configurations
5. HLF Performance Evaluation
5.1. Evaluation Metrics
5.1.1. Success Rate (SR)
5.1.2. Transaction & Read Latency (TL)
5.1.3. Transaction & Read Throughput (TT)
5.2. Performance Evaluation
5.2.1. Transaction Send Rate
5.2.2. Transaction Throughput
5.2.3. Transaction Latency
6. Research Comparison
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Conflicts of Interest
Abbreviations
| API | Application Programming Interface |
| BC | Blockchain |
| CA | Certificate Authorities |
| CC | Chain Code |
| CFT | Crash-Fault-Tolerant |
| CIDs | Content Identifiers |
| DApps | Distributed Applications |
| DLT | Distributed Ledger Technology |
| ETH | Ethereum |
| GDP | Gross Domestic Product |
| HLF | Hyperledger Fabric |
| IPFS | InterPlanetary File System |
| JVM | Java Virtual Machine |
| L | Ledger |
| M2M | Machine-to-Machine |
| MQTT | Message Queuing Telemetry Transport |
| NR | Natural Rubber |
| P | Peer |
| P2P | Peer to Peer |
| PoS | Proof-of-Stake |
| PoW | Proof-of-Work |
| RAFT | Reliable, Replicated, Redundant, and Fault-Tolerant |
| RC | Resource Consumption |
| RSS | Ribbed Smoked Sheets |
| SC | Smart Contract |
| SCM | Supply Chain Management |
| SDK | Software Development Kit |
| TL | Transaction Latency |
| TPS | Transactions Per Second |
| TSR | Technically Specified Rubber |
| TT | Transaction Throughput |
References
- Saing, C.H. Export competitiveness of the Cambodian rubber sector relative to other Greater Mekong Subregion suppliers: A simple descriptive analysis. Unpublished Work, 2009. [Google Scholar]
- Official Website of the General Directorate of Rubber - Cambodia. Available online: https://gdr1.maff.gov.kh/?lang=en (accessed on 1 April 2024).
- Diepart, J.-C.; Kong, R.; Kou, P.; Woods, K.; De Alban, J.D.; Jamaludin, J. Cambodian Smallholder Rubber Sector, 2000 to 2021: Trajectories of Change. Forest Trends: Washington DC, United States, 2023.
- Androulaki, E.; Barger, A.; Bortnikov, V.; Cachin, C.; Christidis, K.; De Caro, A.; Enyeart, D.; Ferris, C.; Laventman, G.; Manevich, Y. ; others. In Hyperledger fabric: a distributed operating system for permissioned blockchains. In Proceedings of the Thirteenth EuroSys Conference, Porto, Portugal, 23–26 April 2018; pp. 1–15. [Google Scholar]
- Zheng, Q.; Li, Y.; Chen, P.; Dong, X. An innovative IPFS-based storage model for blockchain. In Proceedings of the 2018 IEEE/WIC/ACM International Conference on Web Intelligence (WI), Santiago, Chile, 3–6 December 2018; pp. 704–708. [Google Scholar]
- FAO. Cambodia - fao.org: Cambodia’s Investment Opportunities in Agriculture. Available online: https://www.fao.org/hand-in-hand/hih-IF-2023/cambodia/en (accessed on 1 April 2024).
- World Bank. Cambodia: Share of economic sectors in the gross domestic product (GDP) from 2012 to 2022. World Bank, 2023. Available online: https://www.worldbank.org (accessed on 1 April 2024).
- Molyvann, B. Contract-Based Agriculture Production: A Case Study of Organic Rice Production in Cambodia. Unpublished Work, 2023. [Google Scholar]
- Chopra, S.; Meindl, P. Supply Chain Management. Strategy, Planning & Operation; Springer: New York, NY, USA, 2007. [Google Scholar]
- Ivanov, D.; Dolgui, A.; Sokolov, B. The impact of digital technology and Industry 4.0 on the ripple effect and supply chain risk analytics. International Journal of Production Research 2019, 57, 829–846. [Google Scholar] [CrossRef]
- Seuring, S.; Müller, M. From a literature review to a conceptual framework for sustainable supply chain management. Journal of Cleaner Production 2008, 16, 1699–1710. [Google Scholar] [CrossRef]
- Nakamoto, S.; Bitcoin, A. A peer-to-peer electronic cash system. Bitcoin.–URL: https://bitcoin. org/bitcoin. pdf 2008, 4, 15. [Google Scholar]
- Merkle, R.C. A digital signature based on a conventional encryption function. In Proceedings of the Conference on the Theory and Application of Cryptographic Techniques, Santa Barbara, CA, USA, 16–20 August 1987; pp. 369–378. [Google Scholar]
- Cachin, C.; Vukolić, M. Blockchain consensus protocols in the wild. arXiv preprint arXiv:1707.01873, 2017; arXiv:1707.01873 2017. [Google Scholar]
- Katz, J.; Lindell, Y. Introduction to Modern Cryptography: Principles and Protocols; Chapman and Hall/CRC: Boca Raton, FL, USA, 2007. [Google Scholar]
- Pilkington, M. Blockchain technology: principles and applications. In Research Handbook on Digital Transformations; Edward Elgar Publishing: Cheltenham, UK, 2016; pp. 225–253. [Google Scholar]
- Croman, K.; Decker, C.; Eyal, I.; Gencer, A.E.; Juels, A.; Kosba, A.; Miller, A.; Saxena, P.; Shi, E.; Gün Sirer, E. ; others. In On Scaling Decentralized Blockchains: (A Position Paper). In Proceedings of the International Conference on Financial Cryptography and Data Security, Christ Church, Barbados, 22–26 February 2016; pp. 106–125. [Google Scholar]
- Buterin, V.; others. A next-generation smart contract and decentralized application platform. White Paper 2014, 3, 37, 2–1. [Google Scholar]
- Zheng, Z.; Xie, S.; Dai, H.; Chen, X.; Wang, H. An overview of blockchain technology: Architecture, consensus, and future trends. In Proceedings of the 2017 IEEE International Congress on Big Data (BigData Congress), Boston, MA, USA, 11–14 December 2017; pp. 557–564. [Google Scholar]
- Hyperledger Fabric. A Blockchain Platform for the Enterprise | Hyperledger Fabric Docs main documentation. Available online: https://hyperledger-fabric.readthedocs.io/en/release-2.5/ (accessed on 1 April 2024).
- Wood, G.; others. Ethereum: A secure decentralised generalised transaction ledger. Ethereum Project Yellow Paper 2014, 151, 1–32. [Google Scholar]
- Antonopoulos, A.M.; Wood, G. Mastering Ethereum: Building Smart Contracts and Dapps; O’Reilly Media: Sebastopol, CA, USA, 2018. [Google Scholar]
- Zheng, P.; Zheng, Z.; Luo, X.; Chen, X.; Liu, X. A detailed and real-time performance monitoring framework for blockchain systems. In Proceedings of the 40th International Conference on Software Engineering: Software Engineering in Practice, Gothenburg, Sweden, 27 May–3 June 2018; pp. 134–143. [Google Scholar]
- Shalaby, S.; Abdellatif, A.A.; Al-Ali, A.; Mohamed, A.; Erbad, A.; Guizani, M. Performance evaluation of hyperledger fabric. In Proceedings of the 2020 IEEE International Conference on Informatics, IoT, and Enabling Technologies (ICIoT), Doha, Qatar, 2–5 February 2020; pp. 608–613. [Google Scholar]
- Vukolić, M. The quest for scalable blockchain fabric: Proof-of-work vs. In BFT replication. In Proceedings of the Open Problems in Network Security: IFIP WG 11.4 International Workshop, iNetSec 2015, Zurich, Switzerland, 29 October 2015; pp. 112–125. [Google Scholar]
- Sousa, J.; Bessani, A.; Vukolić, M. A byzantine fault-tolerant ordering service for the hyperledger fabric blockchain platform. In Proceedings of the 2018 48th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN), Luxembourg City, Luxembourg, 25–28 June 2018; pp. 51–58. [Google Scholar]
- R3. Corda Technical Whitepaper. Available online: https://www.r3.com/white-papers/corda-technical-whitepaper/ (accessed on 1 April 2024).
- Belchior, R.; Vasconcelos, A.; Guerreiro, S.; Correia, M. A survey on blockchain interoperability: Past, present, and future trends. ACM Computing Surveys (CSUR) 2021, 54, 1–41. [Google Scholar] [CrossRef]
- Ongaro, D.; Ousterhout, J. In search of an understandable consensus algorithm. In Proceedings of the 2014 USENIX Annual Technical Conference (USENIX ATC 14), Philadelphia, PA, USA, 19–20 June 2014; pp. 305–319. [Google Scholar]
- Hyperledger Fabric. Smart Contracts and Chaincode | Hyperledger Fabric Docs main documentation. Available online: https://hyperledger-fabric.readthedocs.io/en/latest/smartcontract/smartcontract.html (accessed on 2 April 2024).
- Christidis, K.; Devetsikiotis, M. Blockchains and smart contracts for the internet of things. IEEE Access 2016, 4, 2292–2303. [Google Scholar] [CrossRef]
- Xu, R.; Chen, Y.; Blasch, E.; Chen, G. Blendcac: A smart contract enabled decentralized capability-based access control mechanism for the IoT. Computers 2018, 7, 39. [Google Scholar] [CrossRef]
- Islam, M.; Rehmani, M.H.; Chen, J. Differentially private enhanced permissioned blockchain for private data sharing in industrial IoT. Information Sciences 2024, 658, 119997. Available online: https://www.sciencedirect.com/science/article/pii/S0020025523015827 (accessed on 1 April 2024). [CrossRef]
- Dwork, C.; McSherry, F.; Nissim, K.; Smith, A. Calibrating noise to sensitivity in private data analysis. In Proceedings of the Theory of Cryptography Conference, New York, NY, USA, 4–7 March 2006; pp. 265–284. [Google Scholar]
- Bruckman, V.J.; Haruthaithanasan, M.; Miller, R.O.; Terada, T.; Brenner, A.-K.; Kraxner, F.; Flaspohler, D. Sustainable forest bioenergy development strategies in Indochina: Collaborative effort to establish regional policies. Forests 2018, 9, 223. [Google Scholar] [CrossRef]
- Pradana, I.G.M.T.; Djatna, T.; Hermadi, I. Blockchain modeling for traceability information system in supply chain of coffee agroindustry. In Proceedings of the 2020 International Conference on Advanced Computer Science and Information Systems (ICACSIS), Bali, Indonesia, 17–18 October 2020; pp. 217–224. [Google Scholar]














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/).