Papers1 provider Ā· 1 record
April 16, 2025Ā· Energies
article
Open access

Distributed Power Trading Mechanism Based on Blockchain Smart Contracts

Authors:Lihua Zhang *Rui HuangMenglian JiaoQingyu LuYi Yang

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.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.