From 54f5e7e1410f74d08df69dcade7cf131497ad1bf Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 3 Aug 2026 13:56:27 -0700 Subject: Auto-withdraw: forward Spending onward past a threshold MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Settings → Payments takes a destination, a threshold, and an optional amount to keep behind. When Spending crosses the threshold the wallet sends the rest on by itself, resolving the destination the same way the send form does — an ark address goes native and free, a payment name prefers its ark instruction before falling back to lightning, an npub tries its ark advert then its lightning address, and an on-chain address becomes a cooperative offboard (carving out an exact-amount vtxo first when it isn't sending everything, since offboards move whole vtxos). Money moving without a human watching deserves guardrails: one transfer at a time, never while another ark action is in flight, a fifteen-minute backoff after a failure with the reason kept for the card, destinations validated before it can be switched on, and dust amounts skipped. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi --- src/i18n.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/i18n.js') diff --git a/src/i18n.js b/src/i18n.js index 18fe2cd..ab03ea6 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -463,6 +463,23 @@ const STR = { arkUniDesc: 'Your escape hatch: claim the money yourself without anyone’s help. Takes about a day and costs mining fees, but works even if the server disappears.', arkExitNoBalance: 'Nothing in Spending to move.', arkZapTitle: 'Send a zap', + awTitle: 'Auto-withdraw', + awDesc: 'When Spending goes over an amount you choose, send it onward automatically — to an address, a payment name, a lightning address, or an npub.', + awDest: 'Send to', + awDestPh: 'name@domain, npub, bc1…, ark1…', + awThreshold: 'When Spending reaches (sats)', + awKeep: 'Keep behind (sats)', + awTurnOn: 'Turn on auto-withdraw', + awTurnOff: 'Turn off', + awOn: 'Auto-withdraw is on', + awOff: 'Auto-withdraw is off', + awBadDest: "That destination isn't one we can pay", + awLowThreshold: 'Use a threshold of at least 1,000 sats', + awKeepTooHigh: 'Keep less behind than the threshold', + awOutOfRange: "The amount is outside the destination's limits", + awSent: 'Auto-withdrew {n}', + awLast: 'Last sent {n} · {when}', + awLastError: 'Last attempt failed: {why}', zapTitle: 'Send a zap', zapFinding: 'Finding the best way to pay them…', arkZapLookup: 'Looking them up…', -- cgit v1.2.3