From b02a64c1f2cc91580fb28db347a15ac80a55886b Mon Sep 17 00:00:00 2001 From: Local Dev Date: Sun, 6 Sep 2026 18:53:17 +0200 Subject: [PATCH] sirius.x: fix electrum listunspent + profile dropdown across all pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit registrar.js: BNS.connect() now filters silentmode.st/electrum and coinspectrum.duckdns.org:50011 out of the default electrum list. Those endpoints are our own bns-indexer.js — beacon-only, serves get_history + transaction.get but NOT listunspent for arbitrary scripthashes. Every wallet op (getBalance, getUtxos, edit signing) needs listunspent, so picking a beacon indexer first (which we did for best reachability) broke every wallet unlock with "-32601 unsupported method: blockchain. scripthash.listunspent". New `beaconOk: true` opts back in for pure- resolution paths. Rebuilt the browser bundle (site/js/bns-register.js) so the fix reaches portal + admin + register.html + anything else that imports BNS.connect. site-sirius-x/js/profile-menu.js: a small shared script that transforms the "🔑 Sign in" nav pill into a dropdown menu on every sirius.x page. Signed-out shows New wallet / Add wallet / WizardConnect + a link to the sign-in page. Signed-in (reads localStorage 'siriusProfile') shows the short address, My names, Admin, Sign out. Included via one