The Core Principles of Digital Ledgers