Transaction chains: add human-friendly labels, save type in db
New resource TransactionChain