feat: wallet UI — WalletConnect component + ranked fight flow in pages

Add WalletConnect.vue with NWC/LN Address connection states. Add "FIGHT
FOR SATS" button to JoinBoutPage with entry fee payment flow. Show ranked
pot and winner payout in FightPage. Add sats stats and wallet section to
BotProfilePage. Extend BotData interface with satsWon/satsWagered/hasWallet.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-08 01:31:51 +00:00
co-authored by Claude Opus 4.6
parent 131d7e587e
commit 95b53e271f
5 changed files with 238 additions and 1 deletions
+9
View File
@@ -23,6 +23,9 @@ interface BotData {
winStreak: number
bestStreak: number
tier: number
satsWon: number
satsWagered: number
hasWallet: boolean
}
interface NostrWindow {
@@ -140,6 +143,9 @@ export function useNostr() {
winStreak: 0,
bestStreak: 0,
tier: 0,
satsWon: 0,
satsWagered: 0,
hasWallet: false,
}
store('bf_bot', bot.value)
@@ -201,6 +207,9 @@ export function useNostr() {
winStreak: 0,
bestStreak: 0,
tier: 0,
satsWon: 0,
satsWagered: 0,
hasWallet: false,
}
store('bf_bot', bot.value)