lightning-node-management

Manage the LND onchain funds in Electrum Wallet

Restore the onchain funds from an LND wallet in Electrum Wallet

Only do this if you understand the process.
Never enter secrets into online webpages.
Avoid browser windows with extensions.
The Tor Browser is a good start (aim to use it offline).

Requires:

Open https://guggero.github.io/cryptography-toolkit/#!/aezeed

Open https://iancoleman.io/bip39/

Open Electrum Wallet

Follow: https://bitcoinelectrum.com/importing-your-private-keys-into-electrum/

When importing the private keys use the prefix:

Done. Once the Electrum Server finished scanning the funds should appear.

Import the onchain part of the LND wallet to Electrum Wallet

This is not a recommended way to manage the funds from the LND wallet, it is better be used as watch-only.
Restoring from the seed in Electrum does not affect the offchain funds in channels.
There is no guarantee that the change outputs from Electrum will appear in LND and vice versa.

Only do this if you understand the process.
Never enter secrets into online webpages.
Avoid browser windows with extensions.
The Tor Browser is a good start (aim to use it offline).

Requires:

Open https://guggero.github.io/cryptography-toolkit/#!/aezeed

Open https://iancoleman.io/bip39/

Alternatively watch this video:
https://light-tube.eu/?latest=Latest&search=How+to+import+your+lighting+wallet+into+Electrum

Showing the use of:

https://github.com/guggero/chantools

showrootkey

This command converts the 24 word lnd aezeed phrase and password to the BIP32 HD root key that is used as the rootkey parameter in other commands of this tool.

Example command:

chantools showrootkey

Convert the xpub to zpub with this small python script:

https://gist.github.com/freenancial/d82fec076c13158fd34d1c4300b2b300