Files
0ea2fafffe feat(credits): one-command activation handoff — full top-up round-trip verifier + runbook (#455)
Cat Credits is built + break-even-hardened and dormant behind one env var
(PLATFORM_NWC_URI). Provisioning a real receiving wallet is George's action
(it's a live financial credential); this makes the rest a single verified step.

- scripts/bitcoin/verify-credits-roundtrip.ts — proves the APPLICATION loop,
  not just the wallet: initiateTopUp issues a real invoice → you pay it → checkTopUp
  settles it and credits the ledger → asserts the balance increased. Complements
  the existing verify-platform-wallet.ts (mint-only, never paid) with the part
  that could actually have a bug (payment → ledger).
- docs/operations/credits-activation.md — the exact ordered runbook: set the
  URI → verify wallet → verify round-trip → flip NEXT_PUBLIC_CAT_CREDITS_LIVE.
  Flags the money-transmission/custody question to weigh first.

Verified: tsc 0. (The scripts move real money, so they're run by George on the
box against the live wallet — not in CI.)

Co-authored-by: Georgy Butaev <41178744+g-but@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-27 18:54:31 +02:00
..