refactor: remove the group's on-chain wallet, guardians and the subgroup wallet policy (wallet removal, Phase 4)

wallet/ (Electrum included), nostr/wallet/, the policy and guardian tags,
GroupWalletDerivation, GroupWalletManager, GuardianDerivation,
GuardianManager, ProposedSpend, three screens with their view models,
states and routes, and FROST's spend half.

FROST is back to signing events. Every transaction proposal from a Bennu
peer is filed declined without being read, and the decline goes out
through advance(). Certificates and ceremonies carry no wallet tag; a
guarded subgroup's ceremony is filed and not joined, and its join screen
says why (W5). A key state carrying a wallet's certificate is declined.
The last bennu/ derivation tag leaves the code, and the last wallet pins
with it.

jvmTest: 1,148 run, 0 failed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-18 15:48:11 +02:00
1 parent db38640e57
commit c6b231fa84
102 files changed
+299 -13779

No files matched your search

@@ -345,6 +345,7 @@
<string name="key_package_rotated">Key package rotated</string>
<string name="subgroups">Subgroups</string>
<string name="add_subgroup">Add subgroup</string>
<string name="this_subgroup_s_wallet_is_to_be_guarded">This subgroup is to keep a guarded wallet. Giza doesn't take part in wallets, so it can't join this ceremony.</string>
<string name="subgroups_of_this_group_need_a_wallet">This group's subgroups must keep guarded wallets. Giza doesn't take part in wallets, so it can't add a subgroup here.</string>
<string name="no_subgroups_have_been_made_by_this_group">No subgroups have been made by this group.</string>
<string name="certified_not_yet_created">Certified, not created yet</string>
@@ -461,177 +462,11 @@
<string name="checking_whether_s_can_receive_messages_here">Checking whether %1$s can receive messages here.</string>
<string name="s_hasn_t_set_up_encrypted_messaging_yet">%1$s hasn't set up encrypted messaging yet. Try again later, or ask them to open Giza.</string>
<!-- The group's on-chain wallet. -->
<string name="group_wallet">Group onchain wallet</string>
<!-- The group's on-chain wallet, named for its group: "Treasury onchain wallet". -->
<string name="s_onchain_wallet">%1$s onchain wallet</string>
<string name="open_a_group_wallet">Open a group onchain wallet</string>
<string name="this_group_has_not_opened_a_wallet">This group has not opened a wallet.</string>
<string name="opening_a_wallet_asks_the_group_to_agree">Opening a wallet asks the group to agree that it keeps coins here. Any quorum of members can then spend them together, and nobody can spend them alone.</string>
<string name="each_member_s_share_is_stored_unencrypted">Each member's share of the group's key is stored unencrypted on their device. Anyone with an unlocked device, or a copy of its data, holds that member's share.</string>
<string name="couldn_t_ask_the_group_to_open_a_wallet">Couldn't ask the group to open a wallet.</string>
<string name="the_groups_above_this_one_have_agreed_to_guard_it">The groups above this one have agreed to guard its wallet. In a guarded wallet each of them can spend any coin that has waited as long as its own delay, without this group agreeing:</string>
<string name="open_a_guarded_wallet">Open a guarded wallet</string>
<string name="open_without_guardians">Open without guardians</string>
<string name="guarded_wallets">Guarded wallets</string>
<string name="spend">Spend</string>
<string name="spend_from_s_s_guarded_wallet">Spend from %1$s's guarded wallet</string>
<string name="wallets_of_groups_below_this_one">Wallets of groups below this one. This group can spend a coin in each once the coin has waited as long as the delay that wallet gives this group.</string>
<string name="s_sats_within_this_group_s_reach">%1$s sats within this group's reach</string>
<string name="fund">Fund</string>
<string name="fund_s_s_guarded_wallet">Fund %1$s's guarded wallet</string>
<string name="s_sats_arriving">%1$s sats arriving</string>
<string name="to">To</string>
<string name="s_s_guarded_wallet">%1$s's guarded wallet</string>
<string name="this_group_can_spend_these_coins_again">This group can spend these coins again once they have waited %1$s.</string>
<string name="finding_an_address_in_s_s_wallet">Finding an address in %1$s's wallet…</string>
<string name="wait_for_this_group_s_open_payments_to_s">Wait for this group's open payments to %1$s to confirm.</string>
<string name="tell_the_groups_above">Tell the groups above</string>
<string name="not_yet_shared_with_the_groups_above">Not yet shared with the groups above that you're in</string>
<string name="share">Share</string>
<string name="shared_with_the_groups_above">Shared with the groups above</string>
<string name="couldn_t_share_the_wallet">Couldn't share the wallet</string>
<string name="guarded_the_groups_above_this_one_can_spend">Guarded: the groups above this one can spend any coin here that has waited as long as their own delay:</string>
<string name="balance">Balance</string>
<string name="s_sats">%1$s sats</string>
<string name="s_sats_on_the_way">%1$s sats on the way</string>
<string name="receive_address">Receive address</string>
<string name="copy_address">Copy address</string>
<string name="address_copied">Address copied</string>
<string name="all_addresses">All addresses</string>
<string name="addresses">Addresses</string>
<string name="addresses_explainer">Each payment should go to a new address. If someone else in the group is already sharing the current one, share one of the ones after it.</string>
<string name="being_handed_out_now">Being handed out now</string>
<string name="not_used_yet">Not used yet</string>
<string name="paid_s_sats">Paid · %1$s sats</string>
<string name="paid_spent_since">Paid · spent since</string>
<string name="copy_address_s">Copy address %1$s</string>
<string name="address_s">Address %1$s</string>
<string name="show_as_a_qr_code">Show as a QR code</string>
<string name="address_s_was_just_paid">Address %1$s was just paid</string>
<string name="finding_the_group_s_coins">Finding the group's coins…</string>
<string name="nothing_has_been_sent_to_this_wallet_yet">Nothing has been sent to this wallet yet.</string>
<string name="coins">Coins</string>
<string name="change">Change</string>
<string name="received">Received</string>
<string name="waiting_for_a_confirmation">Waiting for a confirmation</string>
<string name="s_confirmations">%1$s confirmations</string>
<string name="s_dot_s">%1$s · %2$s</string>
<string name="balance_not_known_yet">Not known yet</string>
<string name="export_watch_only">Export watch-only</string>
<string name="watch_only_descriptors_copied">Watch-only descriptors copied</string>
<string name="anyone_with_these_can_see_every_address">Anyone with these can see every address of this wallet and its whole balance. They can't spend from it.</string>
<string name="spend_from_the_group_s_wallet">Spend from the group's wallet</string>
<string name="this_spend_could_not_be_checked">This spend could not be checked on this device, so there is nothing to check before signing. Don't sign it.</string>
<string name="s_sats_back_to_the_group_as_change">%1$s sats, back to the group as change</string>
<string name="fee_s_sats_at_s_sats_per_byte">Fee: %1$s sats, at %2$s sats per byte</string>
<string name="spends_s_of_the_group_s_coins">Spends %1$s of the group's coins</string>
<string name="signed_by_the_group_any_member_can_send_it">Signed by the group, not by you. Once enough members sign, any member's device can send it to the network.</string>
<string name="send">Send</string>
<string name="send_from_the_group_s_wallet">Send from the group's wallet</string>
<string name="address">Address</string>
<string name="amount_in_sats">Amount in sats</string>
<string name="sats">sats</string>
<string name="s_sats_confirmed_and_free_to_spend">%1$s sats confirmed and free to spend</string>
<string name="send_everything">Send everything</string>
<string name="feerate_in_sats_per_byte">Fee rate in sats per byte</string>
<string name="ask_the_group_to_send">Ask the group to send</string>
<string name="sends_s_sats_with_a_fee_of_s_sats">Sends %1$s sats, with a fee of %2$s sats.</string>
<string name="sends_s_sats_to_s_s_guarded_wallet_with_a_fee_of_s_sats">Sends %1$s sats to %2$s's guarded wallet, with a fee of %3$s sats.</string>
<string name="s_sats_come_back_to_the_group_as_change">%1$s sats come back to the group as change.</string>
<string name="that_isn_t_an_address_on_s">That isn't an address on %1$s.</string>
<string name="the_group_has_nothing_confirmed_to_spend">The group has nothing confirmed to spend yet.</string>
<string name="the_group_doesn_t_have_that_much_confirmed">The group doesn't have that much confirmed, after the fee.</string>
<string name="that_is_too_little_to_send">That is too little to send: the network won't relay an output that small.</string>
<string name="sats_are_whole_numbers">Sats are whole numbers: there is nothing smaller than a sat to send.</string>
<string name="that_is_more_sats_than_there_will_ever_be">That is more sats than there will ever be.</string>
<string name="that_isn_t_an_amount_in_sats">That isn't an amount in sats.</string>
<string name="s_sats_left_over_go_to_the_fee">%1$s sats left over are too few to come back as change, and go to the fee.</string>
<string name="too_many_spends_are_open_with_change">The group has too many spends with change waiting for signatures. Wait for one to settle, or send everything.</string>
<string name="couldn_t_ask_the_group_to_send">Couldn't ask the group to send.</string>
<string name="sending_needs_a_share_and_a_node">Sending needs a share of the group's key, and a wallet of your own on this profile to see the group's coins with.</string>
<string name="nothing_leaves_until_a_quorum_signs">Nothing leaves the wallet until a quorum of members has seen this spend and signed it.</string>
<string name="spends">Spends</string>
<string name="waiting_for_signatures">Waiting for signatures</string>
<string name="signed_sending_it_to_the_network">Signed, sending it to the network</string>
<string name="sent_waiting_for_a_confirmation">Sent, waiting for a confirmation</string>
<string name="confirmed">Confirmed</string>
<string name="replaced_by_a_later_spend">Replaced by another spend of the same coins</string>
<string name="send_again">Send again</string>
<string name="bump_the_fee">Bump the fee</string>
<string name="sent_again">Sent again</string>
<string name="couldn_t_bump_the_fee">Couldn't bump the fee: there isn't enough left over to pay it.</string>
<string name="while_the_wallet_is_new_at_most_s_sats">While the wallet is new, a spend on mainnet can send at most %1$s sats.</string>
<!-- A subgroup's wallet policy, chosen by its parent at birth: docs/subgroup-wallet-policy.md -->
<string name="the_subgroup_s_wallet_will_be_guarded">The subgroup's wallet will be guarded: this group can spend any coin in it once it has waited %1$s, and each group above it after the delay it chose.</string>
<string name="the_subgroup_s_wallet_will_not_be_guarded">The subgroup's wallet will not be guarded: only the subgroup can spend from it.</string>
<string name="the_group_above_decided_this_wallet_is_guarded">The group above this one decided this group's wallet is guarded. Each group above it can spend any coin in it that has waited as long as its own delay, without this group agreeing:</string>
<string name="the_group_above_decided_this_wallet_is_not_guarded">The group above this one decided this group's wallet is not guarded. Only this group can spend from it.</string>
<!-- A guardian's delay in blocks and roughly in time: docs/guardian-delay.md, D5 -->
<string name="blocks_and_about">%1$s, %2$s</string>
<string name="guardian_after">%1$s: after %2$s</string>
<string name="delay_one_hour">1 hour</string>
<string name="delay_two_hours">2 hours</string>
<string name="delay_one_day">1 day</string>
<string name="delay_one_week">1 week</string>
<string name="delay_one_month">1 month</string>
<string name="delay_six_months">6 months</string>
<string name="delay_longest">Longest</string>
<string name="delay_custom">Custom</string>
<string name="delay_in_blocks">Delay in blocks</string>
<string name="a_group_above_this_one">A group above this one</string>
<string name="this_group_s_delay_in_this_wallet">This group can spend a coin here after %1$s</string>
<string name="only_coins_confirmed_for_can_be_spent">Only coins that have waited %1$s can be spent from this guarded wallet.</string>
<plurals name="n_blocks">
<item quantity="one">%1$s block</item>
<item quantity="other">%1$s blocks</item>
</plurals>
<plurals name="about_n_minutes">
<item quantity="one">about %1$d minute</item>
<item quantity="other">about %1$d minutes</item>
</plurals>
<plurals name="about_n_hours">
<item quantity="one">about %1$d hour</item>
<item quantity="other">about %1$d hours</item>
</plurals>
<plurals name="about_n_days">
<item quantity="one">about %1$d day</item>
<item quantity="other">about %1$d days</item>
</plurals>
<plurals name="about_n_months">
<item quantity="one">about %1$d month</item>
<item quantity="other">about %1$d months</item>
</plurals>
<plurals name="about_n_years">
<item quantity="one">about %1$d year</item>
<item quantity="other">about %1$d years</item>
</plurals>
<!-- A member's guarded wallet: docs/member-guarded-wallets.md -->
<string name="guarded_by_s">Guarded by %1$s</string>
<string name="guarded_by_s_below_s">Guarded by %1$s, below %2$s</string>
<string name="this_group">this group</string>
<string name="a_group_below_s">a group below %1$s</string>
<string name="a_group_below_this_one">a group below this one</string>
<string name="members_wallets">Members' wallets</string>
<string name="s_comma_s">%1$s, %2$s</string>
<plurals name="n_wallets">
<item quantity="one">%1$d wallet</item>
<item quantity="other">%1$d wallets</item>
</plurals>
<plurals name="guarded_by_n_groups">
<item quantity="one">guarded by %1$d group</item>
<item quantity="other">guarded by %1$d groups</item>
</plurals>
<string name="fund_s_s_guarded_wallet_s">Fund %1$s's guarded wallet “%2$s”</string>
<string name="spend_from_s_s_guarded_wallet_s">Spend from %1$s's guarded wallet “%2$s”</string>
<string name="fund_s_s_wallet_guarded_by_s">Fund %1$s's wallet guarded by %2$s</string>
<string name="spend_from_s_s_wallet_guarded_by_s">Spend from %1$s's wallet guarded by %2$s</string>
<string name="finding_your_coins">Finding your coins…</string>
<string name="s_sats_come_back_to_this_wallet_as_change">%1$s sats come back to this wallet as change.</string>
<string name="this_wallet_has_nothing_confirmed_to_spend">This wallet has nothing confirmed to spend.</string>
<string name="this_wallet_doesn_t_have_that_much_confirmed">This wallet doesn't have that much confirmed.</string>
<string name="at_s">@%1$s</string>
<string name="this_device_shares_these_on_its_own_when_it_can">This device tells the groups above about these on its own when it can. Share now if a group above hasn't heard.</string>
</resources>