Noob Q: How do I export an zpub or xpub from a Core LN node wallet? I have elect-rs and RTL set up too if that makes anything easier. Just want to have a watch-only wallet available for the on-chain wallet.

Reply to this note

Please Login to reply.

Discussion

Did you tried to import the BIP39 seed of that CLN wallet into Electrum or sparrow and extract from there the xpub ?

Thanks, it outputs descriptors for wpkh, sh and tr. I want to import this to Sparrow but it requires to import a file (or scan qr) so I tried to just copy/paste the descriptors into a file and import that but then I get an error that it's not valid. Any ideas what I'm doing wrong here? What is the descriptors file supposed to look like?

Counterintuitively, in Sparrow you need to create a new wallet first, before you can import an xpub 😉. Just create a new wallet and then choose "xpub / watch only wallet"