Abstract:Smart contracts implement automatic verificationexecution in an information based manner, enabling peer to peer distributed transactions that do not require third party trust mecha nisms. In the micro network with high proportion of renewable energy access, the use of smart contracts to build a distributed trading platform can improve the transaction efficiency of local areas. Firstly, the energy micro market structure is built and a micro grid power trading mechanism without the participation of central institutions is proposed:micro market purchase and sale of electricity service providers determine the price boundary, market participants issue a purchase request to sell electricity in the market based on the results of energy management, and establish opportunities for gains obtained by the model of distributed trading. A certain observation time is given to optimize the trading by multiple rounds of random matching mechanism. Secondly, based on block chain technology,the deployment process of smart contracts is detailed from the as pects of member access, contract creation, consensus mechanism,and dissemination execution.Finally, the effectiveness of the proposed operational mechanism is verified by a case study, and it is proved that local high efficiency power trading can promote the local consumption of renewable energy.