Digital authentication for distributed ledgers