THE GOAL: Add Jade Hardware Wallet support to Nexus. Jade firmware has been forked to add support for Litecoin + Litecoin MWEB. We have created a NitroModule to interact with the Jade HW in React Native: react-native-nitro-jade (project directory: /Users/loshan/Repos/ltc/react-native-nitro-jade - directory also includes an example app in example/).
react-native-nitro-lndltc supports walletKitImportAccount & walletKitImportMwebScanKey. ImportAccount should be used to import the hardware wallet's HD public key (as watch only), which ImportMwebScanKey should import the hardware wallet's MWEB Scan Key.
Example of walletKitImportMwebScanKey (retrieve scan key, spend pubkey and master key fingerprint from jade hw):
lncli wallet accounts import-mweb-scan-key \
--name "hw-mweb" \
--scan_key c6fe1782af72a1987cf87cb7a8fbcfbecefb1d441f46366a90bdb0028e4a502a \
--spend_pubkey 039fed1f844e48f3aa146f91b0ca0e31f6846d8f11efa518b75c2ca8f7fe352ba9 \