1

I have a bitcoind instance with some balance. When I run lnd (which is connected to this bitcoind instance) it seems to use its own wallet. Is there any way I can use lnd with the bitcoind balance without having to send the coins to lnd wallet?

3

As far as I know, this is not possible. lnd and bitcoind are two separate daemons, that interact with the bitcoin network in different ways.

The only way I could think of doing this would be to import keys from one daemon to the other, but exploring the help command of lnd I'm not currently seeing any options to import or export private keys.

In any case, I think sharing keys across the daemons may in fact be dangerous, as bitcoind will not recognize funds as being locked in a LN channel. So if bitcoind tried to spend a LN channel UTXO, it may cause a total loss of that channel's funds (since your published transaction was not the LN channel's most recent state, the counterparty would broadcast the revocation transaction, and all funds would be spent to them). Perhaps someone with a deeper knowledge of these daemons could comment, but by my reasoning I believe this would be true

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.