From 2bc2c984c3e5b7e31d6452b9ec9df5bc5fd6e469 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 28 Jun 2026 23:14:22 -0700 Subject: Receive: add a Lightning option (reverse swap) next to Address + Silent payment Receive now has a segmented [Address | Lightning | Silent payment] toggle. 'Lightning' takes an amount and creates a Boltz reverse-swap bolt11 to share; when it's paid, Boltz locks up on-chain and the SwapManager claims it into this wallet automatically (shown live, then 'Received!'). Gated to non-watch-only wallets (a reverse swap needs our keys). Removed the duplicate 'Receive over Lightning' card from the Swap tab. Verified in-browser on regtest: real limits (Min 50,000) load via the proxy and an invoice is created. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/i18n.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/i18n.js') diff --git a/src/i18n.js b/src/i18n.js index babe3e0..041b0be 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -347,7 +347,15 @@ const STR = { spReceiveTitle: 'Silent payment address', spReceiveDesc: "A reusable address that can't be tracked.", receiveAddressTab: 'Address', + receiveLnTab: 'Lightning', receiveSpTab: 'Silent payment', + lnReceiveIntro: 'Receive over Lightning — paid into this wallet on-chain, non-custodial.', + lnReceiveAwaiting: 'Share this invoice. When it’s paid, the sats land here automatically.', + lnReceiveWatching: 'Waiting for payment…', + lnReceived: 'Received!', + lnCreateInvoice: 'Create invoice', + copyInvoice: 'Copy invoice', + amountSatsLabel: 'Amount (sats)', spScan: 'Scan for silent payments', spScanning: 'Scanning…', spWatching: 'Watching for payments', -- cgit v1.2.3