From e59ed2d1106396750d1fdb15fe98a4b7ab2c80fc Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 22 Sep 2026 10:14:59 -0700 Subject: Ark server is a setting again; an address on another server falls back to Lightning. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_01Tmfg8k5f3TbNJS34qiqHAp --- src/features/names.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/features/names.js') diff --git a/src/features/names.js b/src/features/names.js index ed6cd99..f6afc95 100644 --- a/src/features/names.js +++ b/src/features/names.js @@ -947,6 +947,8 @@ export function namesFeature(ctx) { }, settingsCards() { return namesCards(); }, posSettingsCards() { return posSettingsCardsForName(); }, + // the Ark server changed: the name's ark= instruction must follow + namesRefresh() { refresh().catch(() => {}); return true; }, // Settings → Nostr: the CLINK zap code (a nostr offer, so it lives with // the other nostr settings rather than under the payment address). nostrSettingsCards() { -- cgit v1.2.3