Distributed ledger technologies promise many benefits. But there are plenty of pitfalls to avoid, too.