Skip to content

[1742] feat(frontend): persist the selected network and warn on mismatch with the connected wallet - #1769

Open
ToryMic wants to merge 3 commits into
Junirezz:mainfrom
ToryMic:fix/1742-feat-frontend-persist-the-selected-network-and-warn-on-mismatch-with-the-connected-wallet
Open

ToryMic wants to merge 3 commits into
Junirezz:mainfrom
ToryMic:fix/1742-feat-frontend-persist-the-selected-network-and-warn-on-mismatch-with-the-connected-wallet

Conversation

@ToryMic

@ToryMic ToryMic commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Persist the selected Stellar network in a versioned localStorage envelope (legacy values migrated).
  • Add a network selector in the navbar; all RPC, Horizon and explorer URLs now follow the selection.
  • Wire wallet network checks to the selected network, with a visible mismatch banner and two guided fixes (switch wallet, or switch the app to the wallet's network).
  • Add tests for persistence, dynamic endpoint config, mismatch/reconnect and the selector.

Closes #1742

Test plan

  • npm run test:run (frontend)
  • npm run lint
  • npm run build and npm run check-size

@drips-wave

drips-wave Bot commented Nov 21, 2026

Copy link
Copy Markdown

@ToryMic Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ToryMic
ToryMic force-pushed the fix/1742-feat-frontend-persist-the-selected-network-and-warn-on-mismatch-with-the-connected-wallet branch from 5253caf to fbdd1db Compare November 21, 2026 15:03
@ToryMic
ToryMic force-pushed the fix/1742-feat-frontend-persist-the-selected-network-and-warn-on-mismatch-with-the-connected-wallet branch from fbdd1db to b59a882 Compare November 21, 2026 16:35

This branch has not been deployed

No deployments
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.

feat(frontend): persist the selected network and warn on mismatch with the connected wallet

1 participant