api/hw/support library

Functions

hwCoinIdForSlip44({required int slip44, required CryptoKeyType type, int purpose = 44}) → int?
Map a (SLIP44, key type, purpose) triple to a connector BuHwCoin id.
hwReadinessFor({required CryptoCoins<BaseCoinConfig> coin, required int device, String? variant}) → HwReadiness
Readiness of (coin, device) — optionally pinned to one address variant ('p2pkh' | 'p2wpkh' | 'p2sh' | 'p2tr', curve name otherwise).
isSupportedByHw({required CryptoCoins<BaseCoinConfig> coin, required int device, String? variant}) → bool
True only when (coin, device) is live-proven (variant pins one address type/curve; without it, true when ANY variant is ready). Everything else — including needsAppWork — is false: "coming soon" is not "can sign".