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/i18n.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/i18n.js') diff --git a/src/i18n.js b/src/i18n.js index 903da37..6b89a9e 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -829,6 +829,15 @@ const STR = { arkOpsLnPay: '{n} Lightning payment(s) in flight', arkOpsLnRecv: '{n} Lightning invoice(s) outstanding', arkLnPayVia: 'Instant, from your Spending balance', + arkServerTitle: 'Ark server', + arkServerDesc: 'Spending runs on an Ark server. coinos runs one; Second runs another; or point at your own. Coins are held per server — switch back any time to reach what a server holds.', + arkServerCustomUrl: 'Ark server URL (https://…)', + arkServerCustomEsplora: 'Esplora API URL for that server', + arkServerCustomNeeded: 'Enter both the Ark server and its Esplora URL first', + arkServerSwitchWarn: '{amount} sats are held with the current server. They stay there — switch back to reach them — but they can’t be spent from the new one. To move them, send or exit them first.', + arkServerSwitchGo: 'Switch server', + arkServerSwitched: 'Ark server switched', + arkForeignServer: 'That Ark address belongs to a different Ark server, so it can’t be paid from here directly. Ask for a Lightning invoice, or pay their coinos name or npub — those fall back to Lightning by themselves.', arkLnFromSavingsTitle: 'Lightning pays from Spending', arkLnFromSavingsBody: 'Lightning payments leave your Spending balance, not Savings. Spending holds {have}.', arkLnFromSavingsShort: 'Spending can’t cover this one. Move funds over from Savings first — that takes an on-chain confirmation, so ask for a fresh invoice afterwards.', -- cgit v1.2.3