Scholar proposes legal solutions to regulate cryptocurrency mining’s energy consumption in a climate-friendly way.