EconPapers    
Economics at your fingertips  
 

Decentralized Energy Swapping for Sustainable Wireless Sensor Networks Using Blockchain Technology

Umar Draz, Tariq Ali (), Sana Yasin (), Mohammad Hijji, Muhammad Ayaz and EL-Hadi M. Aggoune
Additional contact information
Umar Draz: Department of Computer Science, University of Sahiwal, Sahiwal 57000, Pakistan
Tariq Ali: Artificial Intelligence and Sensing Technologies (AIST) Research Center, University of Tabuk, Tabuk 71491, Saudi Arabia
Sana Yasin: Department of Computer Science, University of Okara, Okara 56300, Pakistan
Mohammad Hijji: Faculty of Computers and Information Technology, University of Tabuk, Tabuk 71491, Saudi Arabia
Muhammad Ayaz: Artificial Intelligence and Sensing Technologies (AIST) Research Center, University of Tabuk, Tabuk 71491, Saudi Arabia
EL-Hadi M. Aggoune: Artificial Intelligence and Sensing Technologies (AIST) Research Center, University of Tabuk, Tabuk 71491, Saudi Arabia

Mathematics, 2025, vol. 13, issue 3, 1-32

Abstract: Wireless sensor networks deployed in energy-constrained environments face critical challenges relating to sustainability and protection. This paper introduces an innovative blockchain-powered safe energy-swapping protocol that enables sensor nodes to voluntarily and securely trade excess energy, optimizing usage and prolonging lifespan. Unlike traditional centralized management schemes, the proposed approach leverages blockchain technology to generate an open, immutable ledger for transactions, guaranteeing integrity, visibility, and resistance to manipulation. Employing smart contracts and a lightweight Proof-of-Stake consensus mechanism, computational and power costs are minimized, making it suitable for WSNs with limited assets. The system is built using NS-3 to simulate node behavior, energy usage, and network dynamics, while Python manages the blockchain architecture, cryptographic security, and trading algorithms. Sensor nodes checked their power levels and broadcast requests when energy fell under a predefined threshold. Neighboring nodes with surplus power responded with offers, and intelligent contracts facilitated secure exchanges recorded on the blockchain. The Proof-of-Stake-based consensus process ensured efficient and secure validation of transactions without the energy-intensive need for Proof-of-Work schemes. The simulation results indicated that the proposed approach reduces wastage and significantly boosts network resilience by allowing nodes to remain operational longer. A 20% increase in lifespan is observed compared to traditional methods while maintaining low communication overhead and ensuring secure, tamper-proof trading of energy. This solution provides a scalable, safe, and energy-efficient answer for next-generation WSNs, especially in applications like smart cities, precision agriculture, and environmental monitoring, where autonomy of energy is paramount.

Keywords: blockchain-based energy swapping; wireless sensor networks (WSN); LSTM energy prediction; smart contract energy trading; decentralized energy management; proof-of-stake (PoS) consensus mechanism (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2025
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2227-7390/13/3/395/pdf (application/pdf)
https://www.mdpi.com/2227-7390/13/3/395/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:13:y:2025:i:3:p:395-:d:1576827

Access Statistics for this article

Mathematics is currently edited by Ms. Emma He

More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-03-22
Handle: RePEc:gam:jmathe:v:13:y:2025:i:3:p:395-:d:1576827