Add bet flow

Places the fixed-cost bet into the current round: builds and broadcasts
the user->pool PSBT with change back to the user's own address, enforces
at most one active bet per user, and registers the confirmation handler
that marks a bet confirmed and adds the participant to the round.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-21 10:26:11 +02:00
co-authored by Claude Sonnet 5
parent dce532f17e
commit 492fc29eca
5 changed files with 270 additions and 0 deletions
View File