From c81616ed0024c0cec693b552de5c5b6d7056eff3 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 24 Jun 2026 14:41:36 -0700 Subject: Add account switching and watch-only wallets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Accounts: a switcher (header chip → Accounts screen) lets you keep several wallets loaded and flip between them without re-importing. Per the chosen model, full (seed) accounts live only in sessionStorage — ephemeral, no seed on disk; watch-only accounts (no seed) are persisted in localStorage and reload across restarts. enterWallet is refactored around an accounts list (add/switch/remove/lock); Add wallet reaches the unlock screen with a back button. Watch-only: load any wallet from its account xpub/zpub (parseAccountKey normalizes zpub→xpub; the existing public-derivation path yields the same addresses). Signing is blocked, the Send tab and seed/sync/offline cards are hidden, and a watch-only note is shown. Settings gains a "Public key" card (export this wallet's zpub) so it can be watched read-only elsewhere. Password-encrypted persistence for full accounts is the planned next step. New strings translated across all 19 locales. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/locales/ko.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'src/locales/ko.json') diff --git a/src/locales/ko.json b/src/locales/ko.json index 6f87ae7..5227148 100644 --- a/src/locales/ko.json +++ b/src/locales/ko.json @@ -172,5 +172,22 @@ "giftReclaimed": "코인 회수됨", "giftRevokeConfirm": "이 선물을 지금 취소할까요? 코인이 지갑으로 돌아가고 링크가 비활성화됩니다.", "giftReclaimedTag": "아직 청구 가능", - "giftMinNote": "현재 수수료 기준 최소 {n}, 청구 시 더스트를 넘도록." + "giftMinNote": "현재 수수료 기준 최소 {n}, 청구 시 더스트를 넘도록.", + "accounts": "계정", + "addWallet": "지갑 추가", + "lockAll": "모두 잠그기", + "remove": "삭제", + "watchOnly": "조회 전용", + "watchOnlyTag": "조회 전용", + "watchOnlyAdd": "조회 전용 추가", + "watchOnlyDesc": "계정 공개키로 지갑을 조회만 할 수 있습니다. 잔액과 내역을 받고 볼 수 있지만 보낼 수는 없습니다.", + "watchOnlyNote": "조회 전용 지갑입니다. 받고 볼 수는 있지만 보낼 수는 없습니다.", + "watchXpubLabel": "계정 xpub 또는 zpub", + "labelOptional": "라벨 (선택)", + "walletLabelN": "지갑 {n}", + "watchLabelN": "조회 {n}", + "publicKey": "공개키", + "publicKeyDesc": "이 키를 공유하면 다른 기기나 앱에서 이 지갑을 조회 전용으로 볼 수 있습니다. 주소는 드러나지만 키는 드러나지 않습니다.", + "copyKey": "키 복사", + "showPublicKey": "공개키 표시" } \ No newline at end of file -- cgit v1.2.3