Aiming at the critical challenges of fragmented environmental-economic value tracking and inefficient multi-stakeholder coordination in green electricity trading, this study proposes a blockchain-based collaborative management method integrating environmental attributes (e.g., carbon offsets) with economic transactions. Leveraging blockchain’s decentralized, tamper-proof distributed ledger, the method ensures transaction transparency, automates settlement via smart contracts, and establishes a verifiable audit trail for environmental benefits. Experimental comparisons demonstrate that the blockchain platform reduces transaction costs by 30%, shortens settlement time by 75%, and significantly enhances market liquidity and transparency versus traditional modes. This approach optimizes resource allocation, minimizes intermediary dependencies, and provides a robust technical pathway for scaling green power adoption. Key implementation barriers include blockchain’s energy consumption, smart contract vulnerabilities, and regulatory fragmentation across jurisdictions. Future work will focus on enhancing blockchain energy efficiency and developing cross-regional regulatory frameworks for green power markets.
Ümit Cali, Annabelle Lee, Barry Hayes, Cláudio Lima · 23 authors
The global energy sector is undergoing a significant transformation driven by decarbonization and digitalization , leading to the emergence of Distributed Ledger Technology (DLT) — particularly blockchain — as a promising tool for enhancing transparency, security, and efficiency in modern power systems . This study aims to provide a comprehensive academic and industrial survey of blockchain applications in the energy sector and develop a robust decision-making framework to identify and prioritize the most promising real-world use cases based on multidisciplinary criteria. A three-stage methodology was adopted: (i) a literature and market review encompassing over 300 academic publications and commercial blockchain initiatives in energy, (ii) an in-depth evaluation of the evolution and viability of blockchain initiatives in energy with the help of expert surveys, and (iii) a novel decision-making model using a q-rung orthopair fuzzy Multi-Attributive Border Approximation (q-ROF-MABAC) method under the Einstein operator. The results were compared with existing decision models to validate consistency and robustness. Nine key blockchain use case categories were identified and ranked based on technical, economic, and governance dimensions. The results demonstrated that integrating expert insights into a fuzzy logic framework helps filter out overhyped claims in the literature and prioritize realistic and high-impact applications such as green certificates, grid services , and peer-to-peer energy trading . The model’s rankings remained stable across varying weight configurations, confirming the robustness of the methodology. This study provides an evidence-based decision-support tool for researchers, industry stakeholders, and policymakers to better understand, evaluate, and adopt blockchain technologies in the energy sector.
Joan Ferré-Queralt, Jordi Castellà‐Roca, Alexandre Viejo
Smart grid technology has transformed electricity generation , distribution, and consumption by incorporating advanced communication systems and distributed energy resources , including solar panels and energy storage solutions . This integration enables prosumers to actively participate in energy markets, benefiting from real-time monitoring, dynamic pricing , and load balancing. However, the detailed data collected during these processes raise significant privacy concerns, as it may expose sensitive information about users’ lifestyles. This work presents an innovative energy trading system operating within decentralized energy distribution networks . The system leverages blockchain-based hierarchical smart contracts to enhance privacy protection for users. It automates energy trades, ensures accurate transaction verification, and obscures user identities and energy consumption patterns through its hierarchical structure, preventing unauthorized profiling or data breaches. Additionally, mechanisms to detect and penalize dishonest behavior are incorporated, ensuring the integrity and fairness of the energy market. The feasibility of the proposed system is experimentally evaluated in an IoT environment through a small-scale implementation using actual IoT devices, yielding positive results in terms of scalability and privacy features. Lastly, a comparative analysis is presented to demonstrate the advantages of the proposed system over existing state-of-the-art solutions.
Energy prosumer communities offer a mechanism where prosumers can share, and trade locally produced renewable generation directly with consumers within the same energy community. Accordingly, there is need for a decentralized approaches that enables prosumers to locally balance generation and consumption. The deployment of emerging technologies such as Distributed Ledger Technologies (DLT), Internet of Things (IoT), and Artificial Intelligence (AI) can accelerate the integration of Renewable Energy Sources (RES) and advance the development of energy internet. Therefore, this article develops an energy system architecture that shows how DLT, IoT, and AI can be deployed to support the design and actualization of energy internet in Distributed Prosumer Energy Communities (DPEC). The system architecture support energy sharing and trading from energy prosumers to consumer. Findings from this study presents how DLT based smart contracts can be employed to securely manage energy transactions within the energy internet. The system architecture provides energy consumers and prosumers with a decentralized approach for sharing and trading local energy generation without requiring any central intermediary. More importantly, this study presents a use case on the applicability of DLT and AI to support micro grid operations in DPEC.
Mohammad Seyfi, Mehdi Mehdinejad, Behnam Mohammadi-Ivatloo, Jamshid Aghaei
The increasing integration of distributed renewable energy resources has transformed consumers into prosumers. Peer-to-peer (P2P) energy trading markets have emerged as a promising solution to facilitate prosumer participation in energy markets. This paper proposes a novel market model for local P2P energy token trading, integrating self-decisive retailers and smallscale prosumers with flexible loads. Within the proposed market structure, retailers as self-decisive agents, can participate in a dynamic and competitive market, ensured by demurrage mechanism, and connect local prosumers to upper energy markets. In this model, local prosumers can choose either directly trade energy tokens with retailers or with other prosumers in the P2P market. Moreover, by having both shiftable and cuttable loads, prosumers can manage their energy costs more effectively and improve their trading strategy. The simulation results showed the importance of the demand response program in promoting the independence of the local P2P energy token trading market. Furthermore, results show retailers can increase the welfare of local prosumers in a local P2P energy token market.
The integration of Distributed Ledger Technologies (DLT), such as blockchain, in power system management is rapidly gaining attention for its potential to enhance grid transparency, security, and operational efficiency. This paper explores the role of DLT in power systems, focusing on decentralized energy trading, grid data integrity, and smart contract-based automation for demand response. It highlights the benefits of DLT in managing distributed energy resources (DERs), securing transactions, and improving trust among stakeholders. Challenges related to scalability, energy consumption, and regulatory compliance are also discussed. Case studies from pilot projects demonstrate promising results, underscoring DLT’s transformative potential in modernizing power grids.
Bitcoin's high volatility poses significant challenges for short-term price prediction, making it a critical area of study for financial forecasting. Traditional models such as Long Short-Term Memory (LSTM) networks often encounter difficulties in handling long-range dependencies and non-stationary data, limiting their predictive accuracy under volatile conditions. This study introduces the Time-Series Transformer (TST) as a novel approach to predict Bitcoin's short-term prices. By leveraging self-attention mechanisms, TST effectively captures complex temporal patterns in historical Bitcoin data, including prices and trading volume. The data was segmented into fixed-length windows to facilitate model training and testing. Evaluation metrics such as Mean Squared Error (MSE), Mean Absolute Scaled Error (MASE), and R-squared (R²) demonstrated TST’s superior performance over LSTM, particularly during periods of high market fluctuation. Furthermore, TST exhibited notable computational efficiency when working with large datasets, underscoring its scalability. These findings not only highlight TST’s potential for enhancing cryptocurrency price prediction but also pave the way for future research integrating external data sources and exploring further model enhancements for more robust financial forecasting.
Minlibe LAMBONI, Eyouléki Tcheyi Gnadi Palanga, Kossi TEPE
The management of smart grids requires enhanced transparency and efficient optimization of energy transactions. While blockchain technology is widely used to ensure traceability and decentralization, existing solutions primarily focus on commercial aspects, often overlooking detailed monitoring of energy flows. This study proposes a hybrid blockchain model combining Ethereum and Hyperledger Fabric to integrate secure transaction execution with real-time energy flow tracking. The adopted approach involves identifying key components of decentralized energy management, conducting a comparative analysis of blockchain architectures, and performing experimental simulations to evaluate their performance in terms of latency, security, and scalability. Specific metrics, such as transaction throughput, block validation time, and energy data granularity, were utilized to assess the efficiency of the proposed model. The results demonstrate that Hyperledger Fabric excels in energy flow monitoring and auditability, whereas Ethereum optimizes transaction execution through its consensus mechanism and broad adoption. The integration of both technologies enables optimal complementarity, ensuring effective interoperability and significantly improving overall system transparency and efficiency. The proposed hybrid model establishes a scalable and resilient architecture that enhances coordination among network participants and optimizes energy governance. It fosters trust among stakeholders by ensuring the integrity and immutability of exchanges while enhancing the management of distributed energy resources. By integrating Ethereum and Hyperledger Fabric, this solution provides an innovative and applicable framework for decentralized energy infrastructures, optimizing transaction management, improving energy flow traceability, and reinforcing the resilience of smart grids against increasing demands for flexibility and sustainability.
The integration of blockchain , Internet of Things devices, and distributed energy resources is revolutionizing peer-to-peer energy trading by enabling decentralized, efficient, and transparent transactions. However, existing solutions face challenges related to privacy, interoperability, and scalability. This paper presents PrGChain, a privacy-preserving blockchain-enabled energy trading framework within the smart grid, incorporating a decentralized ZKOracle to securely connect blockchain networks with off-chain energy data sources . The proposed ZKOracle employs zero-knowledge proofs to verify energy data without exposing sensitive information , ensuring compliance with privacy regulations, while leveraging a distributed network of oracle nodes for enhanced reliability and interoperability. To improve security and efficiency, PrGChain utilizes smart contracts , decentralized applications (dApps), and leverages stablecoins to mitigate cryptocurrency volatility. Performance evaluations demonstrate that our system achieves improved decentralization and privacy without sacrificing efficiency. This is particularly true when deployed on Layer 2 blockchain networks like Polygon, where transaction latency and costs are significantly reduced.
To fully utilize the energy on the user side and establish a new integrated energy trading system to realize energy transactions among users, it is imperative to conduct research on the architecture and pricing models of energy trading systems. Based on the study of the application of blockchain technology in energy trading, this paper constructs a peer-to-peer (P2P) energy trading system using blockchain technology, enabling users to conduct energy transactions without the involvement of a third party. A dynamic energy pricing method based on game theory according to the supply–demand ratio (SDR) is proposed in this paper. The pricing model considers user satisfaction and energy supply–demand comprehensively, introduces the concept of game theory, and constructs an optimized microgrid trading model under the P2P information interaction state. This paper also discusses the application scenarios and operation processes of the P2P energy system, and carries out relevant tests. The test results show that the system has high performance and efficiency, and can meet the needs of energy trading. Finally, through simulation examples, it is proved that the pricing model proposed in this paper provides users with significant benefits and technical support, and can serve as a reference for the application of blockchain in P2P energy trading.
Energy is a fundamental component of modern life, driving nearly all aspects of daily activities. As such, the inability to access energy when needed is a significant issue that requires innovative solutions. In this paper, we propose ED-DAO, a novel fully transparent and community-driven decentralized autonomous organization (DAO) designed to facilitate energy donations. We analyze the energy donation process by exploring various approaches and categorizing them based on both the source of donated energy and funding origins. We propose a novel Hybrid Energy Donation (HED) algorithm, which enables contributions from both external and internal donors. External donations are payments sourced from entities such as charities and organizations, where energy is sourced from the utility grid and prosumers. Internal donations, on the other hand, come from peer contributors with surplus energy. HED prioritizes donations in the following sequence: peer-sourced energy (P2D), utility-grid-sourced energy (UG2D), and direct energy donations by peers (P2PD). By merging these donation approaches, the HED algorithm increases the volume of donated energy, providing a more effective means to address energy poverty. Experiments were conducted on a dataset to evaluate the effectiveness of the proposed method. The results showed that HED increased the total donated energy by at least 0.43% (64 megawatts) compared to the other algorithms (UG2D, P2D, and P2PD).
Ezinne C Chukwuma-Eke, Olakojo Yusuff Ogunsola, Ngozi Joan Isibor
Access to affordable and reliable energy remains a significant challenge for underserved communities, particularly in developing regions. Financial constraints, lack of investment, and inadequate policy frameworks hinder the widespread adoption of modern energy solutions. This paper explores the role of financial inclusion strategies, driven by technology and policy interventions, in improving energy access for marginalized populations. By integrating digital financial services, decentralized energy systems, and innovative policy measures, this study proposes a comprehensive framework to bridge the energy gap. The proposed framework focuses on leveraging financial technology (FinTech), mobile banking, and blockchain-based microfinancing to enhance accessibility to clean energy solutions. Digital payment platforms and mobile-based credit scoring models facilitate microloans for renewable energy adoption, empowering low-income households and small enterprises. Blockchain technology ensures transparency, security, and accountability in financial transactions, reducing the risks of fraud and inefficiencies in energy financing. Policy interventions play a crucial role in fostering financial inclusion and energy accessibility. Targeted subsidies, regulatory reforms, and public-private partnerships are essential for creating an enabling environment. Governments and financial institutions must collaborate to design policies that incentivize investment in decentralized energy projects, such as mini-grids and off-grid solar solutions. Additionally, carbon credit markets and green bonds can provide sustainable financing mechanisms for long-term energy development. A case study analysis highlights successful implementations of technology-driven financial inclusion models in regions with limited energy access. Results demonstrate that integrating mobile financial services and decentralized energy solutions leads to increased energy affordability, economic empowerment, and improved quality of life. The findings underscore the need for a multi-stakeholder approach, combining technological innovation, policy support, and community engagement to drive sustainable energy inclusion. This study contributes to the discourse on financial inclusion and energy sustainability by proposing a data-driven and policy-oriented approach. Future research should explore the scalability of digital financial services in emerging markets and the long-term impact of financial inclusion strategies on energy equity.
Aakanksha Bedi, J. Ramprabhakar, R. Anand, Veerpratap Meena · 5 authors
Energy is the basic prerequisite of any industry, but global warming, climate change, and pollution are increasing due to digitization and industrialization. Rising electricity demand, combined with the integration of electric vehicles, has made it increasingly challenging to rely solely on conventional centralized power systems. To meet this current changing energy scenario, it becomes essential to introduce green energy into conventional power systems and allow bi-directional energy flow. Microgrids, smart grids, and virtual power plants will play an important role in making this massive shift from a centralized system to a decentralized power system. A virtual power plant is a cloud-based energy system incorporating various microgrids, energy storage, distributed energy resources, and weather forecasting. Since this system is virtual, it could lead to cyber threats. To the best of the authors’ knowledge, this review article complies with recent data from ten major research libraries, offering consolidated insights into the virtual power plant (VPP) framework that will enhance customer participation and encourage them to become prosumers. Additionally, a blockchain-based VPP framework is presented along with two very prominent scenarios of blockchain-based distributed VPP involving P2P transactions and NW trading discussed for building futuristic NZEGs aimed at reducing carbon footprints and providing a foundation for future net-zero energy grids (NZEZs).
Aditya R. Malhotra1, Kavya S. Ahuja2, Vihaan P. Bansal3, Tanvi R. Kapoor4
The integration of blockchain technology, particularly Bitcoin-inspired decentralized protocols, into smart grid systems offers innovative solutions for energy management, security, and peer-to-peer (P2P) energy trading. Traditional centralized grids face challenges including inefficiencies, security vulnerabilities, and lack of real-time transactional transparency. By leveraging Bitcoin-like blockchain mechanisms, smart grids can facilitate secure, automated, and auditable energy transactions between distributed producers and consumers. This paper explores the design principles of Bitcoin-enabled smart grids, including consensus protocols, cryptographic transaction verification, and integration with IoT-based energy meters. It also examines case studies and simulation models demonstrating the potential for reduced energy losses, enhanced security, and decentralized grid optimization. Finally, challenges related to scalability, transaction speed, and energy consumption of blockchain networks are discussed, highlighting directions for future research in sustainable and efficient decentralized energy systems.
The deployment of Internet of Things (IoT) devices and edge computing has grown exponentially and has reinvented the world of data processing and making it possible to deliver low-latency applications in real-time settings. Notwithstanding, with this shift towards the use of distributed systems, we are faced with new challenges of ensuring there is effective management of energy consumption. The main aim of the proposed study was to design, deploy, and test a new decentralized edge computing framework that combines blockchain technology and artificial intelligence to achieve optimized energy efficiency. To be more precise, we intended to create AI models that are able to recognize and forecast energy usage patterns at the edge in real-time. The system of 250 edge devices on a network in this study simulated the environment of the smart infrastructure, which portrays a medium-sized U.S. urban grid. All of these devices were able to record important performance and system data on an ongoing basis over more than 30 days at a resolution of 10 seconds, and provide more than 60 million data points. Prominent variables that are recorded are CPU usage (%)/memory load (MB) and energy level (Watts), which is a reflection of the device in terms of operation strain and efficiency. So that edge workloads can be classified according to their energy consumption rates and usage trends to facilitate energy-efficient scheduling. Three supervised machine learning models were chosen: Logistic Regression, Random Forest Classifier, and Support Vector Classifier (SVC). The preprocessed dataset was divided into 80:20 train and test sets to ensure that there was no data leakage, and all three models were trained on the datasets and evaluated on the test set. Based on the measurement, Random Forest had the most accurate predictions, meaning that it tended to slightly outdo the other models in this comparison. The next two models, notably logistic Regression and SVM, respectively, had the lowest accuracy of the three models. The encountered blockchain mechanism, i.e., lightweight transaction ledgers including Hyperledger Sawtooth, offered informative transparency and traceability of energy behavior in edge networks. Introducing blockchain-based green edge computing is about to change the energy management approach in smart cities and intelligent energy grids in the U.S. The introduction of IoT-powered networks in metropolitan areas such as New York City, San Francisco, and Chicago, including traffic sensors and adaptive lighting, autonomous transportation, and Wi-Fi hotspots, has also meant that the energy requirements of distributed edge networks are being placed at a serious burden. Green edge computing with blockchain has an important role in defense and the safety of the population by assuring safe, energy-saving decision-making in the field. The DOD (U.S Department of Defense) mainly depends on mobile and distributed sensor networks to perform surveillance of the theaters of operation, environmental tracking, and real-time information. The findings of the current research add value to the potential of AI-powered methods in increasing energy efficiency in edge computing solutions, especially when combined with blockchain frameworks.
This comprehensive article explores the transformative impact of blockchain technology on energy trading risk management systems. The article examines how blockchain addresses critical challenges in data security, transparency, and regulatory compliance within the energy sector. Through detailed analysis of distributed ledger infrastructure, smart contract integration, and cryptographic security measures, the research demonstrates significant improvements in operational efficiency, transaction processing, and risk mitigation. The investigation encompasses automated compliance frameworks, data privacy mechanisms, and scalability solutions, highlighting how blockchain technology enhances market participation while reducing operational costs. The article also evaluates emerging technologies and industry standards, providing insights into future developments that will shape secure and efficient energy trading operations.
Paula Heess, Stefanie Holly, Marc-Fabian Körner, Astrid Nieße · 9 authors
Abstract The need to harness the flexibility of small-scale assets for system stabilization, including redispatch, is growing rapidly with the increasing prevalence of distributed generation, such as photovoltaic systems and heavy loads, in particular heat pumps and electric vehicles. Integrating these resources into the redispatch process presents special requirements: On the one hand, building trust with the owners of such assets requires privacy and a reasonable degree of autonomy and engagement. On the other hand, besides the system’s scalability and robustness, the verifiability and traceability of provided data are essential for grid operators who depend on the reliable provision of redispatch services. To date, research and practice have encountered significant challenges in defining a system that enables the inclusion of decentralized flexibilities while satisfying necessary requirements. To that end, we present a novel conceptual system design that addresses these challenges by combining a multi-agent system (MAS) approach with verifiable information flows through digital self-sovereign identities (SSIs) and Zero-Knowledge-Proofs (ZKPs). Single agents, as edge devices, operate locally and autonomously, respecting customer preferences, while MAS provide the ability to design robust, reliable, and scalable systems. SSI enables agents to manage their data autonomously, while ZKPs are used to protect users’ privacy through selective data disclosure which allows the verification of the correctness of information without disclosing the underlying data. To validate the feasibility of this design, a case study is included to demonstrate the functionality of key sub-processes, such as baseline optimization, aggregation, and disaggregation, in a realistic scenario. This case study, supported by a prototype implementation, provides initial evidence of the concept’s soundness and lays the groundwork for future evaluation through extensive simulations and field testing. Together, the technologies included in the conceptual system design balance full transparency for grid operators with autonomy and data economy for asset owners.
With the use of IoT devices and blockchain technologies, consumers can purchase and sell energy straight from the grid instead of going via retailers. Here, existing research proposed a various model but it has several limitations such as scalability, less optimal, and efficiency. Therefore, this research proposed a novel Decentralized Energy Trading Framework via Block-chain Smart Contracts. Initially, we obtain a dataset, which consists of total incoming energy (from producers), total outgoing energy (to consumers), price for incoming energy, and price for outgoing energy. Then, this research proposed a Concatenate Hash approach, to generate private and public keys to enhance security and efficiency. Following that, this research proposed a Weighted Scoring Technique for energy trading here Deputized Proof of Stake (DPOS) is used to verify the integrity of blocks which increases scalability and efficiency by reducing the number of participants in the consensus process. Then, for energy trading the consumer could calculate a score for each prosumer using a weighted average considering both energy availability and price. Moreover, Profit generating is the primary factor used to encourage customers and buyers to take part in suggested P2P energy trading. Consequently, Income Generation based on an active pricing strategy was proposed by this research. As a result, our proposed approach has less latency, higher throughput, and security.
This article explores the emerging field of blockchain-powered peer-to-peer energy trading and its potential to revolutionize the global energy sector. It examines the fundamental principles of decentralized energy marketplaces, including smart contracts and distributed ledger technology, which enable secure, transparent, and efficient energy transactions. The article highlights key research breakthroughs, such as AI-managed trading platforms that optimize supply and demand in real-time, and presents case studies from pilot projects in Europe, the United States, and Australia. Future innovations, including tokenized energy credits and cross-border renewable energy exchanges, are discussed alongside their potential impact on energy markets. The article also addresses regulatory considerations and strategies for large-scale adoption in both national and international contexts. Long-term implications for sustainability and market transparency are explored, emphasizing blockchain's role in facilitating the transition to renewable energy sources and creating a more open and equitable energy economy. This comprehensive article underscores the transformative potential of blockchain technology in addressing critical challenges in energy distribution, market efficiency, and environmental sustainability.
Damilare Peter Oyinloye, Je Sen Teh, Mohd Najwadi Yusoff
Blockchain technology has been adopted in various sectors including health, energy and agriculture. It functions as a distributed ledger maintained by multiple nodes, relying on consensus protocols to verify transactions and reach agreement. However, conventional protocols like Proof of Work (PoW) and Proof of Stake (PoS) face challenges with scalability and energy efficiency. This paper introduces Proof of Collaborative Contribution (PoCC), a new consensus protocol aimed at encouraging positive network contributions and fostering collaboration. It utilizes a simplified hashing mechanism secured by trusted execution environments (TEEs). As a proof of concept, PoCC is applied to a solar energy generation system, where prosumers are incentivized to offset their energy consumption and feed excess energy back into the grid. Using real-world energy data from AusGrid, our simulations demonstrate that PoCC ensures equitable block leader selection. We also show that PoCC scales well with the number of nodes, consumes significantly less energy than PoW, and is resistant to Sybil and 51% attacks. We also briefly explore other potential applications of PoCC in systems that aim to reward node contributions.
The renewable Energy Certificate (REC) schemes play a crucial role in combating climate change and promoting sustainable living. However, issues such as traceability, lack of transparency, and user awareness limit its effectiveness. The current study aims to address such limitation by proposing a blockchain-based solution for Indonesia's electricity grid which can enhance end-to-end traceability, real-time data access, and tamper-proof records. The methodology encompasses interview with energy stakeholders, blockchain model development, prototyping, and evaluation of its efficacy. Results show that blockchain technology can revolutionize Indonesian REC market by improving security, traceability, and promote stakeholders' trust. The proposed framework addresses current system limitation and introduces a semi-fungible REC token for secure issuance, trading, and verification. Our solution offers a scalable model that can support Indonesia and global green energy adoption and sustainable living.
Abdullah Umar, Sumit Kumar Jha, Deepak Kumar, T. K. Ghose · 5 authors
In isolated microgrids, distributed energy resources (DERs) such as small-scale generators, energy storage systems, and flexible loads operate independently from the main grid. The challenge is to optimize these resources to minimize user costs while ensuring microgrid stability and efficiency. This paper presents an optimization framework for DERs, leveraging a game-theoretical approach to demand-side management (DSM) in an isolated microgrid environment. Each participant aims to minimize their total cost by strategically managing renewable energy generation, storage, and consumption. The framework models the DSM problem as a noncooperative game, identifying equilibrium points where no user can unilaterally reduce costs. The proximal decomposition algorithm is employed to iteratively update user strategies, ensuring convergence to a Nash equilibrium. Furthermore, a blockchain-based system with smart contracts is integrated to automate critical processes, including registration, event detection, DSM actions, and incentive distribution. This integration enhances transparency, security, and efficiency in the microgrid. During the registration phase, all devices are authenticated and authorized through a secure, transparent blockchain ledger. Event detection is managed by the microgrid Energy Management System (EMS), which continuously monitors voltage and frequency levels, triggering predefined smart contract responses to maintain stability. DSM actions are automatically executed by smart contracts, adjusting energy loads, generation, and storage to balance supply and demand dynamically. The smart contracts also manage the economic incentives that drive participant engagement. They calculate and distribute incentives based on predefined criteria, ensuring accurate and prompt allocation. This process is recorded on the blockchain, providing an immutable and auditable trail of actions and rewards. By leveraging blockchain technology and a game-theoretical approach, the proposed framework ensures continuous optimal operation despite fluctuations in energy demand and renewable generation. This dynamic and adaptive model promotes decentralized and efficient energy management within the microgrid, fostering a resilient and sustainable energy ecosystem.