The Foundations of the Digital Economy