| In recent years,blockchain technology has developed rapidly and has attracted more and more attention.The characteristics of blockchain technology such as decentralization,traceability,openness and transparency of transaction data,etc,make it have a good application in financial-related fields.In fact,as an underlying secure data technology,blockchain also has broad application prospects in other fields besides finance.With the advancement of a new round of power reform in the country,an efficient and transparent power trading market is gradually being improved.With the reform route of "opening up the two ends and controlling the middle",the interests of power generation companies,power grids,and users will be gradually adjusted,and diversified trading entities will be cultivated to form a pattern of buying more and selling more.In this form,the traditional single centralized power trading model is difficult to fully adapt to the needs of the market,which is not conducive to market competition,nor is it conducive to fully protecting the interests of all parties.Power generation companies,power grid companies,power sales companies,and power users or individuals constitute different entities in the power trading market.There are both cooperation and competition between the parties.Therefore,transactions based on trust evaluation and verification are a reliable guarantee for a benign market.It is the inevitable trend of future development to use blockchain technology to support power transactions and build a safe and reliable electronic information transaction platform.Based on this,this subject proposes an electricity trading system based on blockchain technology.The specific work is as follows:First,the basic technical knowledge and application cases of the blockchain are introduced,including blockchain technology,the working principle of the blockchain,block headers,block bodies,Merkle trees and other basic structures,as well as cryptography,consensus algorithms,and peers.The underlying technology of blockchain such as the network.It focuses on the applicability of blockchain technology to the Energy Internet.Based on Ethereum and smart contract related technologies,it introduces the use of Ethereum smart contract technology to realize the convenience and intelligent operation of energy and power transactions;proposes a system architecture,transaction process and other energy and power transaction solutions based on blockchain technology.Secondly,combined with the current power reform ideas,some problems existing in the traditional power trading model are analyzed.In response to these problems,try to design a new power trading program with blockchain technology as the core.Through the establishment of the Ethereum private chain platform,the application of smart contract conversion to a new way of trading energy and electricity has been studied.Limited by the high cost and complexity of actual power system attempts,this research simulates the power transaction behavior of power generation users and power users on the chain through the deployment,maintenance and operation of smart contracts,and the settlement is completed by blockchain technology.Related operations.Finally,the simulation realizes and runs an energy and electricity trading process.The experiment simulates the power execution and transaction settlement of electricity purchase and sales users.The entire experiment is based on the smart contract blockchain technology of the Ethereum platform.Through the analysis of the information flow,the experiment successfully completed operations such as power transfer and fund settlement.The transaction information is recorded in the blockchain and the corresponding information is queried.The experimental system shows that smart power trading contracts can meet the needs of new power trading applications. |