The invention provides an intelligent energy gateway for user-side
microgrid power transactions in combination with
blockchain technology, and the functions of energy data uploading, power transactionexecution control, digital fund transfer and the like are realized through a user
electricity purchasing and selling intelligent contract. When a transaction main body accesses the network, a transaction main body serves as a new information node of a network and uploads
electric power production and consumption data and the like to a data block, a producer sends
electricity selling information through a block
chain network, an
electric power user responds to a transaction request according to
electricity demand quotation and triggers a state
machine to start an intelligent contract, and buyers and sellers match transactions according to clearing prices obtained by two-way buying and selling; and finally, a
blockchain consensus mechanism confirms the transaction information and writes thetransaction information into the energy
blockchain. According to the invention, the transaction process is simplified, point-to-point power transaction with a high degree of
automation is realized ata user side, benefit maximization of both production and consumption parties is ensured by combining a continuous bidirectional auction mechanism, and energy transaction between micro-grids is stimulated.