The legendary Darthcoin has already given advice on how to extract an xpub from LND, but if you do not want to put a seed to an active LND node in another wallet, there’s another option.
To get to the xpub from an aezeed, you can use two tools that are freely available online:
The procedure is:
-
Download these two HTML pages to your local computer.
-
Disconnect from the internet (important, because the private key will be used) and open both pages.
-
Enter the LND aezeed mnemonic from the LND app (private key, be careful!) into the ACS decode mnemonic field.
-
Copy the value shown in the HD node root key base58 field (also private key!).
-
In the second tool (MCC), paste the HD root key value into the BIP32 Root Key field.
-
The xpub will then be shown in the Account Extended Public Key field.
-
Delete all entered values and close the browser windows/tabs.
-
Reconnect to the Internet. It’s advisable not to share your xpub with others. If someone gets hold of an xpub, they can see all transactions made with that wallet.