This work introduces a blockchain-based secure medical prescription-management system seamlessly integrated with a dynamic Internet of Things (IoT) framework. Notably, this integration constitutes a pivotal challenge in the arena of resource-constrained IoT devices: energy consumption. The choice of a suitable blockchain consensus mechanism emerges as the linchpin in surmounting this hurdle. Thus, this paper conducts a comprehensive comparison of energy consumption between two distinct consensus mechanisms: Proof of Work (PoW) and Quorum-based Byzantine fault tolerance (QBFT). Furthermore, an assessment of the most energy-efficient algorithm is performed across multiple networks and various parameters. This approach ensures the acquisition of reliable and statistically significant data, enabling meaningful conclusions to be drawn about the system’s performance in real-world scenarios. The experimental results show that, compared to the PoW, the QBFT consensus mechanism reduced the energy consumption by an average of 5%. This finding underscores the significant advantage of QBFT in addressing the energy consumption challenges posed by resource-constrained IoT devices. In addition to its inherent benefits of privacy and block time efficiency, the Quorum blockchain emerges as a more sustainable choice for IoT applications due to its lower power consumption.
Distributed ledger technology (DLT) has emerged as a transformative solution across industries, offering decentralization, transparency, and security. Among DLT architectures, IOTA’s Tangle stands out as a scalable, feeless framework well-suited for supply chain applications, particularly in critical sectors like agriculture. This work leverages IOTA’s Tangle to design a secure and traceable wheat supply chain system, addressing challenges such as opacity, fraud, and inefficiency. The proposed solution is an IOTA-based framework designed for enhancing supply chain traceability of wheat, offering trustworthy, transparent, secure and scalable services. Based on smart contracts, a transaction processing system was developed to enhance transparency and traceability and automate tasks. Furthermore, we used various technologies for increased visibility and operational efficiency throughout the supply chain, including IPFS (InterPlanetary File System) for storing extensive data such as stakeholder certifications, AI (Artificial Intelligence) for predicting crop yields, and Self-Sovereign Identity (SSI) for enhanced security. In addition, a government-provided mobile app helps silo managers and police officers verify transportation credentials and prevent contraband. The implementation of this system is expected to enhance supply chain resilience and transparency, particularly in Tunisia, thereby supporting the country’s goal of food autonomy.