The resource revolution will be a digital one, and vice versa.