<oembed><type>rich</type><version>1.0</version><author_name>npub16dt55fpq3a8r6zpphd9xngxr46zzqs75gna9cj5vf8pknyv2d7equx4wrd</author_name><author_url>https://nostr.ae/npub16dt55fpq3a8r6zpphd9xngxr46zzqs75gna9cj5vf8pknyv2d7equx4wrd</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2023-01-03&#xA;🗒️ Summary of this message: A proposal for a contract protocol between two parties, Alice and Bob, with two branches: on-chain/channel and timelock, for instant LN payments.&#xA;📝 Original message:&#xA;On 2023-01-03 03:57, ZmnSCPxj via Lightning-dev wrote:&#xA;&gt; The contract has two participants: Alice the funds owner, and&#xA;&gt; Bob its potential swap partner.&#xA;&gt; [...]&#xA;&gt; The contract has only 2 branches:&#xA;&gt; &#xA;&gt; * Onchain/channel branch: Alice and Bob.&#xA;&gt; * Timelock branch: Alice plus a relative timelock (`OP_CSV`)&#xA;&gt;   measurable in weeks.&#xA;&#xA;Good morning Jesse and ZmnSCPxj,&#xA;&#xA;Is the following an accurate summary of the proposal&#39;s benefits and &#xA;costs? At some point x blocks before Alice expects she might want to &#xA;spend her funds on LN (but also wants the option to quickly spend her &#xA;funds onchain), she enters into a contract protocol with Bob.  At any &#xA;time, with Bob&#39;s cooperation, she can send an onchain transaction.  Or, &#xA;after the contract protocol deposit transaction gets x confirmations, &#xA;Alice can instantly fund a fully initialized LN channel with Bob&#39;s &#xA;cooperation, from which she can immediately send LN payments.&#xA;&#xA;If the above is accurate, how does that compare to splice outs?  For &#xA;example: at some point x blocks before Alice expects she might want to &#xA;spend her funds on LN (but also wants the option to quickly spend her &#xA;funds onchain), she enters into a contract protocol with Bob by opening &#xA;an LN channel.  At any time, with Bob&#39;s cooperation, she can send an &#xA;onchain transaction using a splice out.  Or, after the contract protocol &#xA;(LN) deposit transaction gets x confirmations, Alice now has a funded &#xA;fully initialized LN channel with Bob&#39;s participation as counterparty, &#xA;from which she can immediately send LN payments.&#xA;&#xA;If the value for x blocks is the same in both cases, those two scenarios &#xA;look very similar to me.&#xA;&#xA;The only advantages I see of your proposal are:&#xA;&#xA;1. It allows Alice&#39;s LN wallet to remain offline indefinitely---but only &#xA;if Alice doesn&#39;t have any other funds in open channels.&#xA;2. It&#39;s easier to implement than splice-outs (I would guess)---but it &#xA;also only provides the benefits of sending onchain payments at the time &#xA;before the first LN transaction is made, whereas actual splice out can &#xA;be used any time in a channel&#39;s lifetime to immediately send onchain &#xA;payments.&#xA;&#xA;Am I missing something?&#xA;&#xA;-Dave</html></oembed>