Distributed Power Trading Mechanism Based on Blockchain Smart Contracts
Lihua Zhang (),
Rui Huang,
Menglian Jiao,
Qingyu Lu and
Yi Yang
Additional contact information
Lihua Zhang: School of Information and Software Engineering, East China Jiaotong University, Nanchang 330000, China
Rui Huang: School of Electrical and Automation Engineering, East China Jiaotong University, Nanchang 330000, China
Menglian Jiao: School of Electrical and Automation Engineering, East China Jiaotong University, Nanchang 330000, China
Qingyu Lu: School of Information and Software Engineering, East China Jiaotong University, Nanchang 330000, China
Yi Yang: School of Information and Software Engineering, East China Jiaotong University, Nanchang 330000, China
Energies, 2025, vol. 18, issue 8, 1-27
Abstract:
To address the challenges of inefficiency, vulnerability to attacks, and the lack of transparency and fairness in distributed power trading, a distributed power trading mechanism based on blockchain smart contracts is proposed. Firstly, a strategy for matching distributed power trading orders is designed, and a model for managing user credit is constructed using the entropy weight method and deviation cost. Secondly, a smart contract for distributed power trading is compiled using the Solidity language. Finally, the designed smart contract is deployed, tested, and a distributed power trading network is simulated. The security analysis indicates that the Merkle Tree structure and PoW consensus mechanism effectively ensure the data and system security of distributed power transactions. Simulation test results demonstrate that the transaction mechanism can reliably complete transaction settlements, safeguard the interests of trustworthy users, and enhance the economic benefits of both parties involved in the transaction.
Keywords: distributed electricity; blockchain; smart contract; trading mechanism; trading order matching strategy; credit management; Solidity (search for similar items in EconPapers)
JEL-codes: Q Q0 Q4 Q40 Q41 Q42 Q43 Q47 Q48 Q49 (search for similar items in EconPapers)
Date: 2025
References: Add references at CitEc
Citations:
Downloads: (external link)
https://www.mdpi.com/1996-1073/18/8/2040/pdf (application/pdf)
https://www.mdpi.com/1996-1073/18/8/2040/ (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:jeners:v:18:y:2025:i:8:p:2040-:d:1635881
Access Statistics for this article
Energies is currently edited by Ms. Agatha Cao
More articles in Energies from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().