diff options
| author | Adam Soltys <[email protected]> | 2026-06-24 09:45:24 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-24 09:45:24 -0700 |
| commit | ffb5c30b54f913746cd6f9f79166cc4d0842dc78 (patch) | |
| tree | 8b14f0e828cd38b0343a4cdb598a6bc111c0c991 /src/i18n.js | |
| parent | b72534bc4284992f7e28597e6630bdf6db932e1c (diff) | |
| download | coinosv3-ffb5c30b54f913746cd6f9f79166cc4d0842dc78.tar.gz coinosv3-ffb5c30b54f913746cd6f9f79166cc4d0842dc78.zip | |
Add shareable gift links for fast onboarding
Create a #claim=<code> link from Settings → "Gift this wallet" (gated
behind a reveal + warning, with a QR): the seed (and passphrase, if any)
are encoded as BIP39 entropy in base64url in the URL fragment, which
never reaches a server. Opening such a link loads that wallet and shows
a welcome → balance → firm "back up your recovery phrase" flow, then
drops into the wallet. The claim code is scrubbed from the address bar
on load.
Bearer by design — whoever opens the link controls the funds — so the
creator UI warns to keep amounts small. New strings translated into all
19 locales.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'src/i18n.js')
| -rw-r--r-- | src/i18n.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js index 10dc74d..0c38520 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -144,6 +144,16 @@ const STR = { copyId: 'Copy ID', backToHistory: '← Back to history', recoveryPhrase: 'Recovery phrase', + giftWelcome: 'You’ve been sent Bitcoin', + giftWelcomeBody: 'This wallet is yours now. Anyone with its recovery phrase controls the coins, so back it up before you do anything else.', + giftBackup: 'Back up this wallet', + giftSkip: 'Skip for now', + giftBackedUp: 'I’ve written it down', + giftLink: 'Gift this wallet', + giftLinkDesc: 'Create a link that opens this wallet, with its funds, for onboarding someone fast.', + giftLinkWarn: '⚠ Anyone who opens this link controls all the funds in this wallet. Only share it to give the wallet away, and keep the amount small.', + giftLinkReveal: 'Create gift link', + copyLink: 'Copy link', recoveryWarn: '⚠ Anyone who can see these words can steal your funds. Make sure nobody is watching before you reveal them.', bip39Passphrase: 'Passphrase', copyPassphrase: 'Copy passphrase', |
