pull down to refresh
If you want to import your LND aezeed into another wallet app, use Sparrow.
I explained here (see point 5) how to do it.
But my method is to not use an external wallet app for my LND node.
I keep it simple, if I have to open a new channel:
- always keep ONE UTXO with 100k sats for the fucking stupid anchor reserve. Untouched. Is stupid but there's no other way for the moment.
- send the amount of sats for the channel to the onchain node wallet, 1 UTXO
- Calculate exactly the fee in total sats to open that channel and adjust exactly the amount of the channel, slightly lower, in case are necessary some msats in the opening. You can do this in RTL or Thunderhub, puting a higher amount intentionally so will calculate and will give you exactly the difference you will have to deduct for the fee. Then just adjust the amount of the channel deducting the fee that was missing.
Done, will open a channel with the entire UTXO, not touching the anchor UTXO.
I hope soon we will have an nice option to "send all" at LN code level.
reply
Sparrow can import azeed? I didn't see such option... But Zap desktop can (via recovery option), trying that now.
Your method involves 1 extra on-chain transaction, which defeats the purpose IMHO. You do avoid the change output, but the on-chain footprint is at least 2*111 = 222 vb for the channel opening.
So perhaps my method is cheaper... and more tedious.
reply
Indeed, Zap desktop can import it directly the seed.
With Sparrow you need to do some additional steps.
Ah sorry, I forgot to add the link (see point 5).
https://darthcoin.substack.com/p/umbrel-btcln-node-shtf-scenario
reply
great, it works in Sparrow. Perhaps you want to update your article, I had to create 2 wallets in Sparrow, one for segwit (m/84'/0'/0' as you mention) and one for taproot (m/86'/0'/0'). Then Sparrow allows fine-grained control, so my original post is now partially obsolete. :)
My updated workflow will be: create a tx to dummy P2WSH address in Sparrow to determine maximum sendable amount, initiate channel opening with this amount (basically the same
bos open
as in the original post) and send from Sparrow to address given by bos open
.reply
chantools genimportscript -/format bitcoin-descriptors
, and import the private key you want in e.g. electrum, and then create funding tx with electrum. But this rules out taproot outputs because electrum does not support them. And I tried importing the file from chantools bybitcoin-cli importwallet
, but did not succeed.