From 3463af1d81c2712d657bbf30ecba98ffe5873729 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 24 Jun 2026 14:12:46 -0700 Subject: Fee-aware gift minimum; move gift entrypoint to Send page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Minimum: the flat 546-sat floor is replaced by a fee-aware minimum (dust + one claim fee of headroom, floored at 546) via giftMinimum(), so the recipient clears dust comfortably even if fees rise before they claim — e.g. ~1000 sats at 5 sat/vB, ~7300 at 50. The create form shows the live minimum and rejects below it; buildClaimTx keeps the hard 294-sat dust guard as a final backstop (claim fails rather than handing over dust). UI: the gift entrypoint moves from Settings to a "Gift some Bitcoin" link on the Send page, opening the gift view as a send sub-view with a back button. New strings translated across all 19 locales. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/locales/es.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/locales/es.json') diff --git a/src/locales/es.json b/src/locales/es.json index 4c5a214..c3c77fe 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -157,7 +157,7 @@ "giftLinkReveal": "Crear enlace de regalo", "copyLink": "Copiar enlace", "giftAmountLabel": "Importe a regalar", - "giftAmountInvalid": "Introduce un importe válido.", + "giftAmountInvalid": "Introduce al menos {n}.", "giftAnother": "Crear otro", "giftReserved": "Enlaces de regalo sin reclamar ({n})", "claimBody": "Reclámalo en una billetera totalmente nueva que solo tú controlas.", @@ -171,5 +171,6 @@ "giftReclaimPrompt": "Reclamar libera esta moneda para tu próximo pago, pero el enlace seguirá siendo reclamable hasta que la gastes. ¿Pagar una comisión de red para revocarlo ahora mismo?", "giftReclaimed": "Moneda reclamada", "giftRevokeConfirm": "¿Revocar este regalo ahora? Esto devuelve la moneda a tu monedero y desactiva el enlace.", - "giftReclaimedTag": "aún reclamable" + "giftReclaimedTag": "aún reclamable", + "giftMinNote": "Mínimo {n} con las comisiones actuales, para que supere el polvo al reclamarse." } \ No newline at end of file -- cgit v1.2.3