Skip to content

M2: chain data (indexer client, real balances, activity, addresses) - #4

Open
erubboli wants to merge 18 commits into
feat/m1-keysfrom
feat/m2-chain-data
Open

erubboli wants to merge 18 commits into
feat/m1-keysfrom
feat/m2-chain-data

Conversation

@erubboli

Copy link
Copy Markdown
Member

Summary

Milestone M2 (chain data): the wallet reads the real chain.

  • Typed /api/v2 indexer client (retry with Retry-After, cursor pagination with bounds, response size caps, https-enforced transport shared by both clients) + Esplora-shaped BTC client (config-ready,btcBase pending)
  • Real-mode WalletData behind the provider switch: balances (ML + MLS-01 + NFTs), activity with direction/confirmations, gap-scanned addresses with persisted fresh-address policy
  • BigInt atom/decimal money helpers; no float math in state
  • Polling with backoff, jitter, background pause; pull-to-refresh force path; offline/stale/syncing banners; per-tab error/empty states
  • Home honesty pass: Send gated in real mode (M3 lands sending), BTC unconfigured state, backup-verified gate persisted across restarts, real-derived profile, persistent demo chip
  • Nightly api-smoke against mainnet (live-verified during development); 23-step check gate
  • Gate: OCR + security + DRY + UX + mobile/i18n audits across 3 cycles, 0 critical / 0 medium at close

Known follow-ups (tracked)

  • BTC base URL configuration + device verification pending (F13)
  • Testnet base pending (A2); testnet ships typed-offline
  • Broadcast stays mocked (R3) until M3; sending lands in M3
  • Prices stay R1 mock (self-hosted production direction chosen)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant