Abstract
IoTLogBlock is a novel architecture designed to bridge the gap between resource-constrained IoT devices and the high demands of blockchain technology. It enables low-power devices to perform secure, non-repudiable transactions even when completely offline. By integrating a lightweight local signing protocol with a cloud-based blockchain (Hyperledger Fabric) acting as an automated arbiter, IoTLogBlock allows hardware with limited battery and memory to benefit from distributed ledger immutability. Experimental results on TI-CC2538 hardware show that transactions are completed in approximately 3 seconds with minimal energy consumption, supporting over 100,000 transactions on standard batteries.
Introduction
The integration of blockchain as a trust layer for the Internet of Things (IoT) is often hindered by the "heavy" requirements of distributed ledgers: constant internet connectivity, significant storage, and intensive cryptographic computations. Most IoT devices are "constrained," operating on batteries with limited memory and employing duty-cycling to conserve power. This creates a fundamental mismatch with traditional blockchain architectures that assume persistent online status.
Existing solutions often force devices to remain online, which drastically reduces battery life and fails in environments with intermittent connectivity, such as rural smart car rentals. IoTLogBlock addresses this by allowing devices to perform local "handshakes" and synchronize with the blockchain whenever a connection becomes available.
System Architecture and Protocol
The IoTLogBlock architecture rests on three main pillars designed to decouple transaction agreement from ledger registration.
1. Optimistic Contract Signing
The system adapts the Asokan-Shoup-Waidner (ASW) protocol for local exchange of digital signatures. This "optimistic" approach assumes both parties will behave honestly. If a party fails or attempts to cheat, the protocol provides a mechanism for later dispute resolution.
2. Smart Contract as a Trusted Third Party (TTP)
In traditional ASW, a live server acts as the judge. IoTLogBlock replaces this with a smart contract on a Hyperledger Fabric blockchain. When devices reach an edge connection, they upload signed messages. The smart contract validates these signatures and resolves any conflicts, ensuring non-repudiation.
3. Hardware-Software Integration
The prototype utilizes the TI-CC2538 System-on-Chip (ARM Cortex M3) running Contiki-NG. It leverages Time-Slotted Channel Hopping (TSCH) for reliable, low-power local communication. By offloading ECDSA (Elliptic Curve Digital Signature Algorithm) tasks to the SoC's dedicated cryptographic engine, the system significantly reduces processing time.
Evaluation and Results
The system was evaluated using real hardware benchmarks and simulated network scenarios with edge connectivity intervals ranging from 1 to 10,000 seconds.
- Performance: A complete local transaction (discovery, signing, and exchange) takes an average of 3 seconds.
- Energy Efficiency: Each transaction consumes approximately 98.5 mJ. A pair of standard AA batteries could theoretically support 100,000 such transactions.
- Memory Footprint: The entire software stack requires only 17 KB of RAM, leaving sufficient space for buffering offline transactions.
- Resilience: The system remains reliable even with infrequent edge connections (e.g., once every 1,000 seconds), provided the local transaction volume does not exceed the RAM buffer capacity.
Conclusion and Future Work
IoTLogBlock successfully demonstrates that blockchains can be extended to the most constrained IoT devices by shifting the trust arbitration to an asynchronous smart contract. While the current implementation is limited by RAM storage for offline buffers and lacks advanced privacy features, it provides a robust foundation for secure, offline IoT interactions. Future research will explore privacy-preserving techniques and scalable peer authorization management.
Summary updated