feat(wallet): a member's guarded wallets on their profile, and each one's screen (Phase 8)

The profile lists every guarded wallet of its own this device knows
about, named for the group that guards it: the ones whose key is here,
and the ones a group this device is in has certified for this npub,
which includes wallets made on another device and shown watch-only.
Each row says where the asking has got to -- asked, signing, not
signed, open -- or the balance.

MemberWalletScreen offers addresses only once a group has certified
the wallet. Before then the member can ask again or discard the key,
which is safe exactly then; after, it shows the balance, the address,
the coins and every coin a guardian took, read off the chain. Export
key, behind a confirmation, shows both descriptors with the private
key in them.

wipeData has no callers and deletes nothing yet, so there is no wipe to
guard; a note on it says what a caller must do once it does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-10-24 07:44:30 +02:00
1 parent 0bc076a894
commit eb4d627840
18 files changed
+1126 -3

No files matched your search

@@ -586,4 +586,28 @@
<string name="this_group_s_guardian_keys_can_t_be_read_to_guard_a_wallet">This group's guardian keys can't be read by this version of the app.</string>
<string name="member_wallets_are_not_offered_on_this_network">Guarded wallets for members aren't offered on this network yet.</string>
<string name="this_profile_cannot_watch_its_own_coins">This profile has no wallet of its own to watch the chain with, so it couldn't see its own coins.</string>
<string name="you_have_no_guarded_wallets">You have no guarded wallets.</string>
<string name="waiting_for_someone_in_s_to_put_it_to_the_group">Waiting for someone in %1$s to put it to the group</string>
<string name="s_is_signing">%1$s is signing</string>
<string name="s_did_not_sign">%1$s didn't sign. Ask again, or discard it.</string>
<string name="key_on_another_device">Key on another device</string>
<string name="you_re_no_longer_in_s">You're no longer in %1$s. It still guards this wallet.</string>
<string name="guarded_by_s">Guarded by %1$s</string>
<string name="discard">Discard</string>
<string name="discard_this_wallet_question">Discard this wallet?</string>
<string name="discarding_forgets_its_key">Its key is forgotten. No address of it was ever offered, so nothing can have been paid to it.</string>
<string name="export_key">Export key</string>
<string name="export_this_wallet_s_key_question">Export this wallet's key?</string>
<string name="whoever_holds_these_descriptors_holds_the_coins">Whoever holds these descriptors can spend every coin in this wallet. Keep them where only you can reach them.</string>
<string name="show_key">Show key</string>
<string name="receive_descriptor">Receive descriptor</string>
<string name="change_descriptor">Change descriptor</string>
<string name="copied">Copied.</string>
<string name="copy">Copy</string>
<string name="finding_your_coins">Finding your coins…</string>
<string name="s_took_s_sats_in_s">%1$s took %2$s sats through its guardian leaf, in %3$s.</string>
<string name="taken_by_guardians">Taken by guardians</string>
<string name="the_key_of_this_wallet_is_on_another_device">This wallet's key is on another of your devices, so it can be watched here but not spent from.</string>
<string name="couldn_t_ask_again">Couldn't ask again.</string>
<string name="couldn_t_discard_the_wallet">Couldn't discard the wallet.</string>
</resources>