Sustainable energy and digital currencies: challenges and future prospect