The blockchain with smart contracts makes it possible to trade locally generated energy to other consumers and users without compromising authenticity, credibility, and privacy. The energy market in Europe is a complex system that involves the production,...