Bitcoin and the Lightning Network are set to revolutionize energy production through their flexibility.