aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-22 10:14:59 -0700
committerAdam Soltys <[email protected]>2026-09-22 10:14:59 -0700
commite59ed2d1106396750d1fdb15fe98a4b7ab2c80fc (patch)
tree62def5369b7b0bc75075dcbd9d3ba82ff766e985 /src/app.js
parentb73d5b5db16bbd34385382574d2d454de0b5d505 (diff)
downloadcoinosv3-e59ed2d1106396750d1fdb15fe98a4b7ab2c80fc.tar.gz
coinosv3-e59ed2d1106396750d1fdb15fe98a4b7ab2c80fc.zip
Ark server is a setting again; an address on another server falls back to Lightning.
Settings → Advanced → Ark server: coinos, Second (ark.second.tech) or a custom server, per network — the stored choice is honoured on mainnet again. Ark state is kept per server, so switching hides but never loses coins; the card says what the current server holds and asks before letting go. After a switch the reusable address, the nostr advert and the payment name's ark= instruction follow the new server. Sends between servers can't be arkoor, so an Ark address that names a different server (its first bytes hash the server key) is treated as no Ark address at all in the pay ladder — a coinos name or npub then goes over Lightning by itself — and a pasted one is refused with the reason. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index b11aac2..6e1b6b4 100644
--- a/src/app.js
+++ b/src/app.js
@@ -2584,9 +2584,10 @@ function advancedSettingsView() {
return h(
'div',
{ class: 'col', style: 'gap:16px' },
- // which network and which explorer: changed once, if ever — advanced
+ // which network, which explorer, which Ark server: changed once, if ever
networkCard(),
explorerCard(),
+ ...featureAll('advancedSettingsCards'),
wallet.watchOnly
? null
: h(