Distributed Power Trading Mechanism Based on Blockchain Smart Contracts
Open Access
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
Funding Information
- National Natural Science Foundation of China (62261023, 72262014, 20232BAB2)
- Natural Science Foundation of Jiangxi Province (62261023, 72262014, 20232BAB2)
This publication has 19 references indexed in Scilit:
- RMCT: Distributed electricity transaction based on reputation mechanism and multi-chain technology in blockchain environmentElectric Power Systems Research, 2025
- Selfish mining attack in blockchain: a systematic literature reviewInternational Journal of Information Security, 2024
- Design and optimization of electricity market trading mechanism based on blockchain technologyInternational Journal of Low-Carbon Technologies, 2024
- Research on Model of Micro-grid Green Power Transaction Based on Blockchain Technology and Double Auction MechanismJournal of Electrical Engineering & Technology, 2023
- Blockchain-based distributed power transaction mechanism considering credit managementEnergy Reports, 2022
- An intelligent transaction model for energy blockchain based on diversity of subjectsAlexandria Engineering Journal, 2021
- Energy Transaction for Multi-Microgrids and Internal Microgrid Based on BlockchainIEEE Access, 2020
- Smart contract architecture for decentralized energy trading and management based on blockchainsEnergy, 2020
- Quantitative Evaluations of Uncertainties in Multivariate Operations of MicrogridsIEEE Transactions on Smart Grid, 2020
- A survey on privacy protection in blockchain systemJournal of Network and Computer Applications, 2019