Privacy-preserving transaction patterns for decentralized identity and wallets