IoT-based system for secure data routing using blockchain and cryptography
Overview: This project is an IoT-based secure communication system that leverages blockchain technology and cryptographic algorithms to ensure reliable, tamper-proof, and private data transmission between IoT devices.
Problem Statement : The rapid growth of IoT devices has introduced significant challenges around security, scalability, and trust. Existing IoT systems typically rely on centralized client–server models, which create single points of failure, expose the network to cyberattacks, and make them vulnerable to data breaches and manipulation. Such centralized frameworks limit scalability and reduce resilience, leaving IoT ecosystems fragile in real-world deployments.
Solution : To address these issues, our project proposes a blockchain-enabled peer-to-peer transaction system that removes central dependencies and ensures trustless, verifiable, and tamper-resistant data exchange. By combining decentralized routing with cryptographic security, this approach creates a transparent, secure, and scalable framework for IoT communication, safeguarding devices against attacks while supporting large-scale deployments.
Key features
Working :
How it’s made
We built this project using a combination of Node.js, JavaScript, Solidity, and Hardhat. Node.js and JavaScript were used to implement the IoT routing logic, handle packet validation, and connect devices to the network. Solidity smart contracts were developed to define verification rules and transaction recording, while Hardhat provided a local testnet environment for compiling, testing, and deploying these contracts before linking them into the full architecture.
Most of the heavy computation in our system—such as BLS (Boneh–Lynn–Shacham) signature aggregation and BLAKE3 hashing—is performed off-chain. This design ensures the IoT devices, which are resource-constrained, do not get overloaded with cryptographic tasks. Instead, these computations are distributed across multiple nodes hosted on Fluence, a decentralized cloud platform.
We specifically chose Fluence because it is CPU-based, making it well-suited for the cryptographic operations our project relies on. Since BLS and BLAKE3 are CPU-friendly and not GPU-intensive, this perfectly aligned with Fluence’s computational model. By deploying across multiple virtual machines (VMs) on Fluence, we enabled nodes in different geographic locations to validate and route IoT packets simultaneously.
This setup brings two critical benefits:
Cluster computing & fault tolerance – Even if one VM or server fails, other VMs continue computation, ensuring the IoT network remains functional without downtime.
Geo-distributed validation – By spreading nodes across regions, IoT packet routing is faster, more resilient, and harder to attack, compared to a centralized client-server system.
In practice, IoT devices generate data packets, which are signed and validated by nearby nodes. The cryptographic proofs are then computed on Fluence VMs, ensuring secure and decentralized off-chain verification. Once validated, the transaction metadata is passed to the blockchain, where the smart contract finalizes integrity checks and stores the result immutably.
This hybrid model of local IoT packet handling, off-chain cryptographic computation on Fluence, and blockchain-backed verification gave us both the efficiency to scale and the security to ensure trustless IoT communication