From c2cbf5ee7cc4b7588a899872d6229295b25b9d3a Mon Sep 17 00:00:00 2001 From: scgbckbone Date: Tue, 5 May 2026 10:08:07 +0200 Subject: [PATCH] allow Coldcard EDGE to display singlesig taproot address --- hwilib/devices/coldcard.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hwilib/devices/coldcard.py b/hwilib/devices/coldcard.py index 1efe889b9..30a476bfa 100644 --- a/hwilib/devices/coldcard.py +++ b/hwilib/devices/coldcard.py @@ -39,6 +39,7 @@ AF_P2WSH, AF_P2SH, AF_P2WSH_P2SH, + AF_P2TR, ) from .._base58 import ( get_xpub_fingerprint, @@ -262,7 +263,9 @@ def display_singlesig_address( elif addr_type == AddressType.LEGACY: addr_fmt = AF_CLASSIC elif addr_type == AddressType.TAP: - raise UnavailableActionError("Coldcard does not support displaying Taproot addresses yet") + if not self.is_edge: + raise UnavailableActionError("Coldcard does not support displaying Taproot addresses yet. Use EDGE.") + addr_fmt = AF_P2TR else: raise BadArgumentError("Unknown address type")