IDEAS home Printed from https://ideas.repec.org/a/gam/jeners/v18y2025i8p2040-d1635881.html
   My bibliography  Save this article

Distributed Power Trading Mechanism Based on Blockchain Smart Contracts

Author

Listed:
  • 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)

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.

Suggested Citation

  • Lihua Zhang & Rui Huang & Menglian Jiao & Qingyu Lu & Yi Yang, 2025. "Distributed Power Trading Mechanism Based on Blockchain Smart Contracts," Energies, MDPI, vol. 18(8), pages 1-27, April.
  • Handle: RePEc:gam:jeners:v:18:y:2025:i:8:p:2040-:d:1635881
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1996-1073/18/8/2040/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1996-1073/18/8/2040/
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jeners:v:18:y:2025:i:8:p:2040-:d:1635881. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.