From 37960a580acd2ab18d53e30e97dd1c46d12679f2 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 31 Jul 2026 15:51:03 -0700 Subject: Settings: coinos ASP presets + swap-bridge provider MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - ark presets gain coinos entries (ark.coinos.io on mainnet, ark-staging.coinos.io on mutinynet) alongside Second's - new per-network swap-bridge setting (preset/custom URL + access token) with its own Settings card When a bridge is configured, a bolt11 quote asks it first and shows its fee; paying locks an HTLC only the bridge can claim, and only by revealing the invoice preimage. Any failure — unreachable bridge, refused swap, unpayable invoice — refunds and falls back to the ASP's own lightning-send, so the payment never dead-ends. Hanging swaps are refunded on reconnect. Co-Authored-By: Claude Fable 5 --- src/i18n.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/i18n.js') diff --git a/src/i18n.js b/src/i18n.js index 9b39503..91fef4b 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -435,6 +435,13 @@ const STR = { arkLnPayFailed: 'Payment failed', arkLnRefunded: 'Payment failed — funds returned to your Ark balance.', arkLnPaidTitle: 'Paid!', + arkBridgeTitle: 'Lightning swap bridge', + arkBridgeDesc: 'Optional third-party service that pays Lightning invoices from your Ark balance, usually cheaper than the Ark server itself. Trustless: your sats are locked in a hash contract the bridge can only take by actually paying your invoice.', + arkBridgeUrl: 'Bridge URL', + arkBridgeToken: 'Access token', + arkBridgeTokenPh: 'Leave blank if the bridge is open', + arkBridgeTrust: 'If the bridge fails to pay, your sats come straight back — it can never take them without settling your invoice.', + arkLnBridgeFee: 'Bridge fee', arkLnFundsPending: 'Your Ark funds are settling from a previous payment — retrying…', lnZapOffer: 'Zap {addr}', arkLnInvoiceIntro: 'Or receive over Lightning, straight into your Ark balance.', -- cgit v1.2.3