poker: hand history on Solana and a player history page

main
No checks reported

Commit

Colin Wang14h ago

With --solana, the bank wallet writes one Memo transaction per finished hand: game id, hand number, board, and per player their name, wallet address, chips in, chips won, and hole cards only if shown at showdown.

poker-room/player.html reads those records back from devnet and shows a player's total winnings, games and each hand. No login is needed: a hand counts for the seat's own wallet. A player can connect a browser wallet and claim a seat with a signed message, so their hands count for that wallet instead.

Entire-Checkpoint: 01M80XQ6R2E83FTX0ZSSPFQ4XG