Skip to content

wallet UI improvements / race condition fixes - #7

Open
0x02937 wants to merge 1 commit into
octra-labs:mainfrom
0x02937:ui-improvements
Open

wallet UI improvements / race condition fixes#7
0x02937 wants to merge 1 commit into
octra-labs:mainfrom
0x02937:ui-improvements

Conversation

@0x02937

@0x02937 0x02937 commented Apr 6, 2026

Copy link
Copy Markdown
Contributor
  • header status: is a dropdown: mainnet / devnet / custom (links to settings)
  • network switch: flushes dashboard to empty state and pause the 15s RPC poll (pauseRefreshTimer), saves RPC via existing /settings, then refresh balance + empty state. _fetchGen is to fix the switches during inflight requests
  • unlock: no separate “unlocking…” line in the modal, stays in the button
  • cleanup: switchNetworkFromHeader + beginNetworkSwitch, doSaveSettings({ deferClientRefresh }), RPC/explorer constants in one block, pauseRefreshTimer reused on logout.
  • bumped wallet.js version to v=20 and style.css to v=3.

…ale-fetch guard on RPC switch, unlock button busy state, refactors.
Comment thread static/wallet.js
var _pendingClaimIds = {};
var _explorerUrl = 'https://octrascan.io';
var RPC_MAINNET = 'http://46.101.86.250:8080';
var RPC_DEVNET = 'https://devnet.octra.com/rpc';

@0x02937 0x02937 Apr 13, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to
http://165.227.225.79:8080/

with rpc suffix i guess?

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