Repository navigation
Conversation
The built-in wallet's storage provider keeps its data and broadcasts its transactions. Settings now shows it, lets the user move the wallet to another provider, and asks for the provider's address when the wallet was moved on another device, so it follows rather than undoes the move. The choice is kept per chain and identity key in this browser. Switching appears only once @1sat/wallet-browser reports getStorageStatus.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
rohenaz
had a problem deploying
to
e2e-testnet
November 25, 2026 18:47 — with
GitHub Actions
Failure
When the provider chosen for a wallet can't be reached at open, the wallet opens on the 1Sat storage read-only instead of failing, and Settings names the provider and offers to try again. A switch that finishes after the wallet was locked no longer writes its state, a read-only wallet can pick its current provider again, and the default address is normalized so switching back matches its store.
rohenaz
had a problem deploying
to
e2e-testnet
November 25, 2026 18:58 — with
GitHub Actions
Failure
rohenaz
had a problem deploying
to
e2e-testnet
November 25, 2026 19:30 — with
GitHub Actions
Failure
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before: Settings showed the built-in wallet's storage host as read-only text, and every open pointed the wallet at the hosted 1Sat storage.
After: Settings shows which provider keeps the wallet's data and broadcasts its transactions, and lets the user switch to another provider or back to the 1Sat default. When the wallet was moved on another device, the row says so, marks the wallet read-only and asks for that provider's address, so this browser follows the move instead of undoing it.
The choice is saved per chain and identity key in this browser and used on the next open. The store's own user record still decides which store is active.
How:
changeWalletStoragein the wallet provider callssetActiveStorage(oraddRemoteafter a move), then checksgetStorageStatusand only saves the choice once the new provider is the writable active store. The Change button only appears when the installed@1sat/wallet-browserreportsgetStorageStatus, so with 0.1.2 nothing changes for users until an SDK release with b-open-io/1sat-sdk#105 and #106 is installed here. Logging goes throughreportDiagnostic.Tests:
tests/wallet-storage-choice.test.ts(address checks, per-account save and load) and the updatedtests/wallet-storage-endpoint.test.ts.bun test tests/, biome andtsc --noEmitpass locally.