# \[Proposal\] Public Fraud Proofs for Just-in-Time Channels

**URL:** <https://delvingbitcoin.org/t/proposal-public-fraud-proofs-for-just-in-time-channels/2451>\
**Category:** Protocol Design\
**Tags:** lightning\
**Created:** [April 24, 2026, 1:02pm UTC](https://delvingbitcoin.org/t/proposal-public-fraud-proofs-for-just-in-time-channels/2451 "2026-04-24T13:02:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThomasV](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/thomasv/32/2032_2.png) [@ThomasV](https://delvingbitcoin.org/u/ThomasV)\
**Post date:** [April 24, 2026, 1:02pm UTC](https://delvingbitcoin.org/t/proposal-public-fraud-proofs-for-just-in-time-channels/2451/1 "2026-04-24T13:02:32Z")

</div>

Hello everyone,

I have long been unsatisfied by the trust model of just-in-time channels.

Here is a new proposal, that attempts to improve the situation using fraud proofs and game theory. The main idea is that clients should publish the payment preimage on-chain if their LSP is misbehaving.

> **[lsp\_fraudproofs.pdf](https://gist.githubusercontent.com/ecdsa/dfa2d76a5fe845fd283c01b5ed12d274/raw/655979f04ab83f8d46bbac6f18a6db2aef5dd8f2/lsp_fraudproofs.pdf)**
>
> 184.98 KB

Any feedback is appreciated. While the paper recommends serving op\_return data using Electrum servers, it might also be possible to delegate all the indexing and serving work to nostr relays.

Thanks to tnull, f321x and SomberNight for reviewing early versions of this paper.

Thomas

---

<div class="post-metadata">

**Author:** ![tnull](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/tnull/32/449_2.png) [@tnull](https://delvingbitcoin.org/u/tnull)\
**Post date:** [April 27, 2026, 9:57am UTC](https://delvingbitcoin.org/t/proposal-public-fraud-proofs-for-just-in-time-channels/2451/2 "2026-04-27T09:57:20Z")

</div>

Thanks for this interesting proposal! As mentioned elsewhere I have to admit I’m a bit skeptical regarding how much this would indeed gain us in practice, especially given the added complexity of this scheme.

I also think the scheme as currently outlined in Section 3 has a griefing vector as, if I understand correctly, after step 2 Alice would have everything she needs to publish a fraud proof, but could then maliciously stall out the channel open itself, thereby grief Bob’s reputation? If I’m not mistaken this might however be fixable by reordering the steps so the whole flow (i.e., sending of the UTXO commitment in particular) is only conducted after Bob receives `funding_signed` from Alice, but of course before he broadcasts the funding transaction.

---

<div class="post-metadata">

**Author:** ![ThomasV](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/thomasv/32/2032_2.png) [@ThomasV](https://delvingbitcoin.org/u/ThomasV)\
**Post date:** [April 27, 2026, 12:58pm UTC](https://delvingbitcoin.org/t/proposal-public-fraud-proofs-for-just-in-time-channels/2451/3 "2026-04-27T12:58:31Z")

</div>

Indeed, the UTXO commitment needs to be sent after `funding_signed`. Conceptually, the UTXO commitment is a temporary replacement for the funding transaction. I will amend the paper and upload a new version. Thanks for pointing this out!

Edit: new version uploaded. Old versions are available in the gist history. [LSP Fraud Proofs · GitHub](https://gist.github.com/ecdsa/dfa2d76a5fe845fd283c01b5ed12d274/)
