The realization of photovoltaic power generation market trading, especially the distributed photovoltaic power generation, has broad prospects. Under the condition of energy Internet, the market-oriented electricity trading is also the development direction of photovoltaic new energy in the future. In this paper,based on the typical characteristics of the blockchain, the common attributes of the blockchain and energy Internet transactions are analyzed and the security performance of the blockchain in the field of energy Internet is verified. Finally, according to the characteristics of distributed photovoltaic power plants, such as wide distribution range, non-random and stable characteristics, a block chain transaction model with energy storage facilities is proposed, which is applied to the actual micro grid distributed photovoltaic power station. The experimental results show that the transaction model proposed in this paper has some advantages in transaction efficiency and transaction cost, which can provide a practical basis for the realization of block chain transactions in distributed photovoltaic power plants.