From 2c058c97eb19afae74f30b336350da8ed278707b Mon Sep 17 00:00:00 2001 From: Ben Gridley Date: Sun, 1 Feb 2026 16:35:04 -0700 Subject: [PATCH] add support for Nano Gen5 --- electrum/plugins/ledger/ledger.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/electrum/plugins/ledger/ledger.py b/electrum/plugins/ledger/ledger.py index f10f97f44..c7099ecce 100644 --- a/electrum/plugins/ledger/ledger.py +++ b/electrum/plugins/ledger/ledger.py @@ -1228,7 +1228,7 @@ class LedgerPlugin(HW_PluginBase): (0x2c97, 0x0005), # Nano-S Plus (0x2c97, 0x0006), # Stax (0x2c97, 0x0007), # Flex - (0x2c97, 0x0008), # RFU + (0x2c97, 0x0008), # Nano Gen5 (0x2c97, 0x0009), # RFU (0x2c97, 0x000a)] # RFU VENDOR_IDS = (0x2c97,) @@ -1238,6 +1238,7 @@ class LedgerPlugin(HW_PluginBase): 0x50: "Ledger Nano S Plus", 0x60: "Ledger Stax", 0x70: "Ledger Flex", + 0x80: "Ledger Nano Gen5", } SUPPORTED_XTYPES = ('standard', 'p2wpkh-p2sh', 'p2wpkh', 'p2wsh-p2sh', 'p2wsh') @@ -1289,6 +1290,8 @@ class LedgerPlugin(HW_PluginBase): return True, "Ledger Stax" if product_key == (0x2c97, 0x0007): return True, "Ledger Flex" + if product_key == (0x2c97, 0x0008): + return True, "Ledger Nano Gen5" return True, None # modern product_keys if product_key[0] == 0x2c97: