From 7234a3de9e200f36accb754f62163f0bd5360832 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 24 Jun 2026 13:38:08 -0700 Subject: Replace seed gift links with presigned PSBT claim links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Gifting no longer shares a seed. "Gift some Bitcoin" (Settings) presigns a chosen amount as a #gift= link: one SIGHASH_SINGLE input (the sender's change output is cryptographically fixed, so a front-runner can only take the gift portion, never the change) plus the rest left open. The coin is reserved per-wallet so normal sends skip it; reclaim it anytime. Opening the link generates a brand-new wallet the sender never sees, shows the amount, and on Claim adds the claimer's address as the output, finalizes, and broadcasts — then prompts backup of the fresh seed. This gives forward secrecy (sender locked out once confirmed), one-shot semantics (claiming spends the input), and keeps funds in the sender's wallet until claimed. Crypto verified end-to-end (sign NONE/SINGLE -> add output -> finalize -> valid tx; deterministic-signature equality proves the presigned sig is valid for any output the claimer picks). Strings retranslated across all 19 locales. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/locales/ru.json | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) (limited to 'src/locales/ru.json') diff --git a/src/locales/ru.json b/src/locales/ru.json index 97d971a..5ef7967 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -151,9 +151,19 @@ "giftBackup": "Сделать резервную копию кошелька", "giftSkip": "Пропустить пока", "giftBackedUp": "Я записал(а)", - "giftLink": "Подарить этот кошелёк", - "giftLinkDesc": "Создайте ссылку, которая открывает этот кошелёк с его средствами, чтобы быстро подключить кого-то.", - "giftLinkWarn": "⚠ Любой, кто откроет эту ссылку, контролирует все средства в этом кошельке. Делитесь ею только чтобы отдать кошелёк, и держите сумму небольшой.", + "giftLink": "Подарить немного Bitcoin", + "giftLinkDesc": "Заранее подпишите сумму в виде ссылки. Тот, кто откроет её, получит Bitcoin в совершенно новый кошелёк, которым управляет только он.", + "giftLinkWarn": "⚠ Любой, кто откроет эту ссылку, может получить эту сумму, поэтому делитесь ею только с тем, кому дарите. Держите суммы небольшими.", + "giftAmountLabel": "Сумма подарка", + "giftAmountInvalid": "Введите корректную сумму.", + "giftAnother": "Создать ещё один", + "giftReserved": "{n} монет отложено для невостребованных подарков", + "giftReclaim": "Вернуть", + "claimBody": "Получите его в совершенно новый кошелёк, которым управляете только вы.", + "claimBtn": "Получить", + "claimFailed": "Этот подарок уже получен или больше недоступен.", + "claimedTitle": "Получено!", + "claimedBody": "Ваш Bitcoin уже в пути. Сделайте резервную копию фразы восстановления, чтобы сохранить его в безопасности.", "giftLinkReveal": "Создать ссылку-подарок", "copyLink": "Копировать ссылку" -} \ No newline at end of file +} -- cgit v1.2.3