nostr:npub12262qa4uhw7u8gdwlgmntqtv7aye8vdcmvszkqwgs0zchel6mz7s6cgrkj nostr:npub1u8lnhlw5usp3t9vmpz60ejpyt649z33hu82wc2hpv6m5xdqmuxhs46turz nostr:npub1t0nyg64g5vwprva52wlcmt7fkdr07v5dr7s35raq9g0xgc0k4xcsedjgqv or any lightning devs able to weigh in on this?

TLDR of context: why can’t we just make an on-chain “invoice” (address with amount) with some kind of script or signature from the lightning node to open an outbound channel from any funding source directly?

Rather than 1) funding the node on-chain, and then 2) opening the channel on-chain nostr:note1vvpw3wftd7a2snra3f7dlgklxt8rdskysj36tks94rqmgvwxp9rs4d6gtg

Reply to this note

Please Login to reply.

Discussion

But the Bitcoin wallet that is creating the channel needs to sign it.

Couldn’t there be some solution with scripts though? This is clearly way above my head but i think lightning has a better chance of being Bitcoin’s payment layer long term if channel openings could be a single on-chain step

pretty sure a channel opening is a single transaction signed by two parties

it's only one step on chain but requires an off-chain agreement, this is done by LN nodes

i might be misunderstanding what you are digging at

Hmm well that sounds relevant at least. I don’t think i’m digging at much besides “this would be great” while not knowing the technical mechanics behind any of the current limitations

there's nothing stopping people from opening with cheap fee transactions in quiet times but not using them until later, the question is just about the fact that it locks you in

most of the consternation around L2s and fees is based on high time preference ultimately

people learn low time preference when they know the Science

my guess is it has something to do with tbe fact channels are 2 of 2 multisigs?

Hmmm probably

If we had ctv or some covenant we could

ok, so was listening to this episode and you could open a channel in one transaction if you coordinate offchain first.

From about 29:45

TFTC: A Bitcoin Podcast: #431: Bitcoin Privacy and the Payjoin Dev Kit with Dan Gould

Episode webpage: https://podcasters.spotify.com/pod/show/tales-from-the-crypt/episodes/431-Bitcoin-Privacy-and-the-Payjoin-Dev-Kit-with-Dan-Gould-e26ddq4

Media file: https://anchor.fm/s/558f520/podcast/play/72840452/https%3A%2F%2Fd3ctxlq1ktw2nl.cloudfront.net%2Fstaging%2F2023-5-30%2F337531229-44100-2-922fb37d62815.mp3