How do bonds in Secure Multi‐Party Lotteries work as described in Bitcoin and Cryptocurrency Technologies book
The transactions for revealing commitments are separate from the transactions for the lottery. Timed hash commitments only force parties to reveal preimage x of H(x). The lottery logic is carried in a separate transaction