How do we do bets on Nostr?

The author proposes a bet, posts on his feed, you can join on either side, sats on escrow. When the judge decides, all sats flow. Must be extremely simple to use.

PS: lots of legal work for this as well.