Role of smart contracts in enabling the digital green transition, facilitating decentralized energy markets and sustainable energy systems. This work demonstrates how blockchain technology can support the transition to renewable energy and sustainable power systems.