Blockchain technology can facilitate the exchange of renewable energy between Prosumer (producer and consumer of renewable energy) and Consumer, through a smart contract. Blockchain technology executes immediately the transactions between the parties involved and records the energy exchanged in a transparent and trustless way, thanks to the features of the Distributed Ledger Technology.