From 625af457d1df4b79da39b79f48a3b3e718f2237e Mon Sep 17 00:00:00 2001 From: Patrick Mulligan Date: Wed, 25 Feb 2026 19:12:52 -0500 Subject: [PATCH] feat(machine): live BTC price badge with 10s polling from LNbits - Poll LNbits /api/v1/rate/ every 10s for live price display - Show local currency rate + USD reference (e.g. GTQ/BTC: Q525,034 ($67,960)) - Reduce rate cache from 5min to 10s for responsive display - Use simpler /api/v1/rate/ endpoint instead of /conversion POST Co-Authored-By: Claude Opus 4.6 --- apps/machine/src/App.vue | 24 +++++++-- apps/machine/src/services/lightning.ts | 71 +++++++++++++++++--------- apps/machine/src/stores/atm.ts | 33 +++++++++++- 3 files changed, 100 insertions(+), 28 deletions(-) diff --git a/apps/machine/src/App.vue b/apps/machine/src/App.vue index 0a43177..74aaa6a 100644 --- a/apps/machine/src/App.vue +++ b/apps/machine/src/App.vue @@ -1,5 +1,5 @@