Skip to content

Restore wallet payments automatically after reconnecting - #13

Merged
ty-everett merged 1 commit into
masterfrom
codex/restore-payment-view-20261029
Oct 29, 2026
Merged

ty-everett merged 1 commit into
masterfrom
codex/restore-payment-view-20261029

Conversation

@ty-everett

Copy link
Copy Markdown
Contributor

After reconnecting, Mountaintops showed only addresses the user had manually refreshed. That made a saved payment appear to be missing. Connecting now restores available retained payments from the BRC-100 wallet, with the existing source, spend-state and canonical-proof checks, before a separate refresh discovers new deposits.

Known-output recovery never queries an address or creates a paid record, including after expiration. Partial discovery now says how many addresses were checked; an unchecked address does not show a misleading zero. The app remains client-only, and activity remains ephemeral. Import preparation, receiving expiration and grouped permissions are unchanged.

Validation: 56 tests, lint and production build; fresh-instance active/expired recovery without address lookup or wallet transactions, and unknown spend state rejected. The real-SDK UI fixture restores both payment rows on connect, retains both after a single-address refresh with a clear 1-of-2 label, and performs full refresh without a new wallet action. The earlier real payment/import round trip is confirmed; no further paid test is needed for this display correction.

@ty-everett
ty-everett merged commit 73516cc into master Oct 29, 2026
1 check passed
@ty-everett
ty-everett deleted the codex/restore-payment-view-20261029 branch October 29, 2026 21:04
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