pair_ledger_ltc
Pair a Ledger device for Litecoin signing. Enumerates four BIP-44 address types (legacy, p2sh-segwit, native segwit, taproot) for a given account index, with per-type fault tolerance.
Instructions
Pair the host's directly-connected Ledger device for Litecoin signing. REQUIREMENTS: Ledger plugged in over USB, device unlocked, the 'Litecoin' app open on-screen. Ledger Live's WalletConnect relay does not expose Litecoin accounts to dApps, so signing goes over USB HID via @ledgerhq/hw-app-btc (the same SDK as Bitcoin, with currency:'litecoin' selecting Litecoin-specific encoding). One call enumerates the four BIP-44 address types (legacy L…, p2sh-segwit M…, native segwit ltc1q…, taproot ltc1p…) for the given account index. BIP-44 coin_type 2. Per-type fault-tolerant: each address-type walk runs independently, so one type's failure (e.g. the Ledger Litecoin app currently rejects bech32m/taproot with 'Unsupported address format bech32m') does NOT abort the others — the failed type is recorded under skipped[] in the response and the remaining three are paired and persisted. Note: Litecoin Core has not activated Taproot on mainnet, so ltc1p… outputs would not be spendable anyway — taproot pairing is effectively forward-compat only. All paired entries surface under the litecoin: [...] section of get_ledger_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountIndex | No | Ledger Litecoin account slot. One call enumerates ALL FOUR address types (legacy at `44'/2'/<n>'/...`, p2sh-segwit at `49'/2'/<n>'/...`, native segwit at `84'/2'/<n>'/...`, taproot at `86'/2'/<n>'/...`) AND walks both receive (`/0/i`) and change (`/1/i`) chains using BIP44 gap-limit scanning. 0 = first Litecoin account, 1 = second, etc. | |
| gapLimit | No | BIP44 gap limit — stop walking each (type, chain) after this many consecutive addresses with zero on-chain history. Default 20. |