aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-06-28 04:38:18 -0700
committerAdam Soltys <[email protected]>2026-06-28 04:38:18 -0700
commit98b216605604c3fea85936a54b07344ddc7a08a6 (patch)
tree24e5ca16a8f1fa2fc1ddf0196e640d66a379d40a /src/i18n.js
parent76daca707a7b9cb9aafab1ceb8999ec3c708a63d (diff)
downloadcoinosv3-98b216605604c3fea85936a54b07344ddc7a08a6.tar.gz
coinosv3-98b216605604c3fea85936a54b07344ddc7a08a6.zip
Unify data sources into one list; coinos → electrum.coinos.io
- Combined the separate Electrum and Explorer settings into a single data-source list. Each preset knows its type (electrum vs esplora); a custom source's type is detected from its URL scheme (ws/wss → Electrum, http/https → Esplora). The settings UI is now one dropdown + a URL field for Custom, with a one-line note showing the detected/selected type. getBackend/electrumCandidates/resolveHosts derive from the selected source. Old split settings migrate automatically. - coinos now points at wss://electrum.coinos.io (was wss://halwallet.app/electrum). Set up as a cloudflared route on the bitcoin tunnel → the Fulcrum WS (:50003), with a DNS CNAME. Verified the endpoint serves Electrum from a browser (Fulcrum 2.1.1 replies; cloudflare Bot Fight Mode only challenges non-browser clients). Verified: combined list + auto-detection (unit + browser), old-settings migration, regtest data flow unchanged, and the app loads over electrum.coinos.io with no errors. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js
index adfa4e8..5b9f1e8 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -300,6 +300,10 @@ const STR = {
backendElectrumDesc: 'Data and instant payments over one Electrum WebSocket. Point it at your own server for a fully self-hosted wallet.',
electrumUrl: 'Electrum server (wss://)',
electrumUrlHint: 'A WebSocket Electrum server, e.g. wss://your-node:50004',
+ sourceUrl: 'Server URL',
+ sourceUrlHint: 'wss:// for an Electrum server, or an Esplora REST base (https://…/api). The type is detected from the URL.',
+ detectedElectrum: 'Electrum — data + instant payment notifications.',
+ detectedEsplora: 'Block explorer (Esplora) — data only; polls for payments.',
silentPaymentNote: 'Silent payment',
spReceiveTitle: 'Silent payment address',
spReceiveDesc: "A reusable address that can't be tracked.",