# Babilonia - probabilistic coinjoin and covert betting

**URL:** <https://delvingbitcoin.org/t/babilonia-probabilistic-coinjoin-and-covert-betting/2704>\
**Category:** Protocol Design\
**Tags:** coinjoin, zkp, taproot\
**Created:** [July 12, 2026, 7:07pm UTC](https://delvingbitcoin.org/t/babilonia-probabilistic-coinjoin-and-covert-betting/2704 "2026-07-12T19:07:36Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![AdamISZ](https://delvingbitcoin.org/user_avatar/delvingbitcoin.org/adamisz/32/418_2.png) [@AdamISZ](https://delvingbitcoin.org/u/AdamISZ)\
**Post date:** [July 17, 2026, 2:30pm UTC](https://delvingbitcoin.org/t/babilonia-probabilistic-coinjoin-and-covert-betting/2704/5 "2026-07-17T14:30:52Z")

</div>

OK, paper updated to v1.1, protocol message ordering fixed as per above etc.

On to your second comment:

Yes I think your outline makes sense, i.e. of how we could do either: a) a series of game/bet executions offchain before settlement, in a straightforward 2-party setup or b) allow the game over a a set of channels (obviously this is way more ambitious, and not only because we need PTLC to exist).

I’m not as clear whether there’s a practical value. Adding Poon-Dryja style penalties and corresponding persistent state is a pretty big addition. The obvious practical value I can think of is: Player actually wants to gamble, and wants the odds to be guaranteed fair (not trusting dealer) and wants to play repeatedly but keep fees super-low by amortization. I can definitely see that. (As you note, there is trickiness around timeouts, but the basic function seems clear.)

The other interesting general angle springs, as far as I can tell from @harding and @ajtowns earlier [comments](https://delvingbitcoin.org/t/emulating-op-rand/1409/2) on the general OP\_RAND idea as it applies to probabilistic payments for LN: if we use the t^2 type ZKP, then since it’s pure \Sigma- protocol based, it’s very performant. The question is whether this can make sense if you want win-probabilities p extremely small. AFAICT, no. Well; but also the entirety of what’s presented here is taproot-specific.

I still think the pure “it’s a coinjoin but it’s also a bet, a .. joinbet perhaps” is pretty interesting, but I do tend to lean towards: some variant of a private coinswap with amount correlation broken, and/or payments between channel counterparties in LN, off-onchain swaps: this area is likely to be the most fruitful in having it be useful. Whether the original probabilistic payments for 1 sat style things, or other. GTT 26 might be needed there, because really small probabilities tend to be the desired thing.

---

_[View the full topic](https://delvingbitcoin.org/t/babilonia-probabilistic-coinjoin-and-covert-betting/2704)._
