refactor: remove the group Lightning wallet and Iceberg (wallet removal, Phase 2)

The Lightning events, managers, Iceberg ceremony, wallet/lightning, the
repository, five screens with their view models, states and routes, the
four DAOs, and the regtest network with its build wiring. The entities
stay until Phase 5's migration.

FROST's sweep path goes here rather than in Phase 4, since it was built on
GroupSweep: a sweep that arrives is filed declined without being read.
Lightning kinds fall to the retired-kinds arm; existing Lightning lines
stay as settled lines that open nothing. The 147 strings Phases 1 and 2
left unread go, and a Phase 1 test name that said Bennu is renamed.

jvmTest: 1,440 run, 0 failed, 0 skipped.

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:25:15 +02:00
1 parent 8e0f1bd38a
commit 1bd0761339
102 files changed
+90 -11422

No files matched your search

@@ -114,7 +114,6 @@
<string name="group_disbanded">This group was disbanded. Nothing more can be sent into it, and nobody can rejoin.</string>
<string name="disband_group_explainer">Ends the group for everyone. Nobody can rejoin; a new conversation is a new group.</string>
<string name="member_removal_requested">Removal sent; it takes effect once a relay accepts it</string>
<string name="member_removal_requested_lightning">Removal sent; it takes effect once a relay accepts it. They still hold a share of the Lightning wallet's key and its node's seed until the group opens a new Lightning wallet without them.</string>
<string name="library">Library</string>
<string name="lightning_invoice">Lightning invoice</string>
<string name="live">LIVE</string>
@@ -379,12 +378,8 @@
<string name="send_your_contribution_to_the_key">Send your contribution to the key</string>
<string name="check_the_combined_result">Check the combined result and confirm it</string>
<string name="the_group_has_its_key_finish_setting_it_up">The group has its key — finish setting it up</string>
<string name="the_lightning_wallet_s_key_ceremony_needs_you">The Lightning wallet's key ceremony needs you</string>
<string name="the_lightning_wallet_s_key_is_ready">The Lightning wallet's key is ready</string>
<string name="open_the_shared_key_ceremony">Open the shared key ceremony</string>
<string name="open_the_lightning_wallet_s_key_ceremony">Open the Lightning wallet's key ceremony</string>
<string name="open_the_proposal">Open the proposal</string>
<string name="open_the_lightning_wallet">Open the Lightning wallet</string>
<string name="you_approved_this">You approved this</string>
<string name="open">Open</string>
<string name="ask_again">Ask again</string>
@@ -470,8 +465,6 @@
<!-- 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="not_opened_yet">Not opened yet</string>
<string name="open_on_s">Open on %1$s</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>
@@ -568,110 +561,9 @@
<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>
<string name="lightning_wallet_key">Lightning wallet key</string>
<string name="this_group_has_no_lightning_wallet_key_yet">This group has no key for a Lightning wallet yet.</string>
<string name="open_the_group_s_onchain_wallet_first">A Lightning wallet closes to the group's onchain wallet. Open that first.</string>
<string name="a_lightning_wallet_needs_four_signers">A Lightning wallet needs at least four members who hold the onchain wallet's key.</string>
<string name="the_lightning_wallet_key_is_made_by_everyone">The key is made by everyone who holds the onchain wallet's key. Every payment will need %1$s of their devices online.</string>
<string name="start_a_key_ceremony">Start a key ceremony</string>
<string name="signers_needed_s_of_s">Signers needed: %1$s of %2$s</string>
<string name="waiting_for_everyone_to_join">Waiting for everyone to join</string>
<string name="waiting_for_contributions">Waiting for everyone's contributions</string>
<string name="waiting_for_everyone_to_confirm">Waiting for everyone to confirm</string>
<string name="the_group_has_a_lightning_wallet_key">The group has a key for a Lightning wallet.</string>
<string name="join_the_ceremony">Join the ceremony</string>
<string name="send_your_contributions">Send your contributions</string>
<string name="confirm_what_you_saw">Confirm what you saw</string>
<string name="joining_publishes_commitments">Joining publishes commitments to your contributions. Your device then takes the other two steps by itself, checking each one, and sends your contributions only encrypted to the members who will hold them.</string>
<string name="if_it_hasn_t_finished_s_hours_after">If it hasn't finished %1$s hours after it was proposed, it is abandoned and the group can start another.</string>
<string name="couldn_t_abandon_the_ceremony">Couldn't abandon the ceremony.</string>
<string name="sending_contributions_encrypts_each">Each contribution is encrypted to the members who will hold it. Your randomness starts shaping the key here.</string>
<string name="confirming_publishes_your_public_share">Confirming publishes your public share and a hash of every commitment you saw, so the group can check it agrees.</string>
<string name="s_of_3_steps">%1$s of 3 steps</string>
<string name="couldn_t_approve_this_step">Couldn't approve this step.</string>
<string name="your_share_of_this_key_is_stored_unencrypted">Your share of this key is stored unencrypted on this device, as the onchain wallet's is.</string>
<string name="lightning_wallet">Lightning wallet</string>
<string name="lightning_needs_an_onchain_wallet">Lightning is only available once the group has an onchain wallet.</string>
<string name="make_a_key">Make a key</string>
<string name="see_the_key_ceremony">See the key ceremony</string>
<string name="open_a_lightning_wallet">Open a Lightning wallet</string>
<string name="opening_a_lightning_wallet_asks">Opening a Lightning wallet asks the group to sign for its node, its LSP and how much can be in flight at once. The scheme behind its key has not been reviewed outside the project, so for now a channel holds at most %1$s sats: keep in it only what the group can afford to lose.</string>
<string name="node_s">Node %1$s</string>
<string name="lsp_s">LSP %1$s</string>
<string name="at_most_s_sats_in_flight">At most %1$s sats in flight</string>
<string name="nobody_runs_this_wallet">Nobody runs this wallet yet</string>
<string name="run_by_s_term_s">Run by %1$s, term %2$s</string>
<string name="run_this_wallet_on_my_device">Run this wallet on my device</string>
<string name="the_operator_s_device_runs_the_node">The operator's device runs the wallet's node and has to stay online. Every other member's device signs for it automatically while it is open.</string>
<string name="step_down">Step down</string>
<string name="couldn_t_propose_this">Couldn't propose this to the group.</string>
<string name="the_group_is_making_its_lightning_wallet_key">The group is making a key for its Lightning wallet.</string>
<string name="reported_by_the_operator_in_term_s">Reported by the operator in term %1$s. Your device checks each channel against the last commitment it signed.</string>
<string name="s_sats_can_be_received">%1$s sats can be received</string>
<string name="the_operator_hasn_t_reported_the_wallet_yet">The operator hasn't reported the wallet yet.</string>
<string name="channels">Channels</string>
<string name="s_of_s_sats_are_the_group_s">%1$s of %2$s sats are the group's</string>
<string name="matches_what_your_device_signed">Matches what your device signed</string>
<string name="your_device_signed_for_s_sats">Your device signed for %1$s sats, not what the operator reports</string>
<string name="your_device_hasn_t_signed_for_this_channel">Your device hasn't signed for this channel</string>
<string name="payments">Payments</string>
<string name="no_payments_yet">No payments yet.</string>
<string name="received_s_sats">Received %1$s sats</string>
<string name="sent_s_sats_with_a_fee_of_s_sats">Sent %1$s sats, with a fee of %2$s sats</string>
<string name="couldn_t_send_s_sats">Couldn't send %1$s sats</string>
<string name="a_channel_closed_s_sats_to_the_onchain_wallet">A channel closed: %1$s sats to the onchain wallet</string>
<string name="a_channel_is_closing_s_sats_to_the_onchain_wallet">A channel is closing: %1$s sats to the onchain wallet</string>
<string name="receive">Receive</string>
<string name="what_it_is_for">What it's for</string>
<string name="leave_the_amount_empty_to_let_the_payer_choose">Leave the amount empty to let the payer choose.</string>
<string name="ask_for_an_invoice">Ask for an invoice</string>
<string name="waiting_for_the_operator_s_device">Waiting for the operator's device to make the invoice. It has to be online.</string>
<string name="this_invoice_pays_the_group_s_node">This invoice pays the group's node, the one the group signed for. Whatever it receives is the group's.</string>
<string name="copy_invoice">Copy invoice</string>
<string name="invoice_copied">Invoice copied</string>
<string name="nobody_runs_this_wallet_to_make_an_invoice">Nobody runs this wallet yet, so there is no node to make an invoice.</string>
<string name="couldn_t_ask_for_an_invoice">Couldn't ask for an invoice.</string>
<string name="the_invoice_names_the_amount_s_sats">The invoice names the amount: %1$s sats.</string>
<string name="fee_limit_in_sats">Fee limit in sats</string>
<string name="left_empty_s_sats">Left empty, %1$s sats.</string>
<string name="ask_the_group_to_pay">Ask the group to pay</string>
<string name="paying_asks_the_group_to_sign">The group signs for this payment as for any decision. Once it has, the operator's device pays it, and no member's device lets more than the amount and the fee limit leave.</string>
<string name="that_isn_t_a_lightning_invoice">That isn't a Lightning invoice.</string>
<string name="that_invoice_is_for_another_network">That invoice is for another network, not %1$s.</string>
<string name="that_invoice_has_expired">That invoice has expired.</string>
<string name="that_invoice_names_no_amount">That invoice names no amount, so give one.</string>
<string name="that_invoice_pays_this_wallet">That invoice pays this wallet's own node.</string>
<string name="close_to_the_onchain_wallet">Close to the onchain wallet</string>
<string name="force_close">Force close</string>
<string name="channel_actions">Channel actions</string>
<string name="this_sweep_could_not_be_checked">This device could not check this sweep, so it cannot be signed here.</string>
<string name="sweep_into_the_group_s_onchain_wallet">Sweep into the group's onchain wallet</string>
<string name="sweeps_s_outputs_a_closed_channel_left_the_group">Spends %1$s outputs a closed Lightning channel left the group. Every one goes to the group's own onchain wallet.</string>
<string name="s_sats_wait_in_closed_channels">%1$s sats wait in closed channels</string>
<string name="a_closed_channel_s_outputs_go_to_the_onchain_wallet">They are the group's alone, under its own keys. Sweeping asks the group to sign moving them to the onchain wallet; the sweep is sent once the channel's delay is over.</string>
<string name="sweep_into_the_onchain_wallet">Sweep into the onchain wallet</string>
<string name="s_people_who_left_still_hold_a_share">%1$s people who have left the group still hold a share of this wallet's key and its node's seed. Make a new Lightning wallet without them, then close this one's channels.</string>
<string name="open_a_new_lightning_wallet">Open a new Lightning wallet</string>
<string name="earlier_wallet_s">Earlier wallet %1$s</string>
<string name="s_sats_in_s_channels">%1$s sats in %2$s channels</string>
<string name="close_its_channels">Close its channels</string>
<string name="sweep_s_sats">Sweep %1$s sats</string>
<string name="nobody_runs_this_wallet_s_node">Nobody runs its node, and its channels close only through it.</string>
<string name="hasn_t_answered_the_proposal_yet">Hasn't answered the proposal yet. Their device may need an update that knows Lightning wallets.</string>
<string name="the_group_s_offer">The group's offer</string>
<string name="anyone_can_pay_this_offer">Anyone can pay this offer, as often as they like, without asking for an invoice first. It pays the group's node, the one the group signed for.</string>
<string name="copy_offer">Copy offer</string>
<string name="offer_copied">Offer copied</string>
<!-- A subgroup's wallet policy, chosen by its parent at birth: docs/subgroup-wallet-policy.md -->
<string name="the_subgroup_s_wallet">The subgroup's wallet</string>
<string name="guarded_wallet">Guarded wallet</string>
<string name="unguarded_wallet">Unguarded wallet</string>
<string name="this_group_can_spend_its_coins_once">This group can spend any coin in it once it has waited as long as the delay below.</string>
<string name="this_group_and_the_d_above_it_can_spend">This group, after the delay below, and the %1$d above it, after the delays they chose, can spend any coin in it.</string>
<string name="only_the_subgroup_can_spend_from_its_wallet">Only the subgroup can spend from its wallet. Groups above it can't reach it or anything beneath it.</string>
<string name="this_group_is_guarded_so_its_subgroups_are_too">This group is guarded, so its subgroups are too.</string>
<string name="this_group_s_guardian_keys_can_t_be_read">This group's own guardian keys can't be read, so it can't guard a subgroup.</string>
<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>
@@ -680,7 +572,6 @@
<!-- 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="how_long_before_this_group_can_spend_a_coin">How long before this group can spend a coin</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>
@@ -690,10 +581,8 @@
<string name="delay_longest">Longest</string>
<string name="delay_custom">Custom</string>
<string name="delay_in_blocks">Delay in blocks</string>
<string name="a_coin_the_subgroup_moves_starts_waiting_again">A coin the subgroup moves starts waiting again, so a long delay lets it keep its coins out of reach by moving them.</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="guarded_wallet_after">Guarded wallet, 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>
@@ -750,39 +639,11 @@
<string name="doesn_t_guard_members_wallets">Doesn't guard members' wallets</string>
<string name="stopped_guarding_new_members_wallets">Stopped guarding new members' wallets</string>
<string name="after_s">After %1$s</string>
<string name="guard_members_wallets">Guard members' wallets</string>
<string name="how_long_before_this_group_can_take_a_member_s_coin">How long before this group can take a coin from a member's wallet</string>
<string name="a_coin_the_member_moves_starts_waiting_again">A coin the member moves starts waiting again, so a long delay lets them keep their coins out of reach by moving them.</string>
<string name="wallets_already_guarded_keep_their_delay">Wallets already guarded keep the delay they were guarded at.</string>
<string name="members_on_older_apps_can_only_be_guarded_at_12">Members whose app is older than this one can only be guarded at 12 blocks, and don't know this group can close.</string>
<string name="ask_the_group">Ask the group</string>
<string name="add_liquidity">Add liquidity</string>
<string name="plan_ahead_your_liquidity">Plan ahead your liquidity</string>
<string name="liquidity_lets_the_group_receive_more">The LSP adds this much to the channel, so the group can be paid that much more without the LSP splicing it first.</string>
<string name="current_liquidity_s_sats">Current liquidity: %1$s sats</string>
<string name="liquidity_to_add_s_sats">Liquidity to add: %1$s sats</string>
<string name="the_channel_grows_from_s_to_s_sats">The channel grows from %1$s to %2$s sats.</string>
<string name="miner_fee">Miner fee</string>
<string name="service_fee">Service fee</string>
<string name="duration">Duration</string>
<string name="one_year">1 year</string>
<string name="total">Total</string>
<string name="after_a_year_the_lsp_may_reclaim">After a year, the LSP may reclaim the liquidity that is still unused.</string>
<string name="the_fee_is_a_quarter_of_the_amount_or_more">The fee is a quarter of the amount or more.</string>
<string name="the_fee_is_more_than_the_group_s_balance">The fee is more than the group's balance.</string>
<string name="priced_at_s_sat_vbyte_in_term_s">Priced on your device at %1$s sat/vbyte, the feerate the operator reported in term %2$s. The miner fee may rise before the node buys.</string>
<string name="buying_liquidity_asks_the_group_to_sign">Buying liquidity asks the group to sign. The operator's node buys it once enough members have, and every member's device checks the splice before it signs.</string>
<string name="review_the_purchase">Review the purchase</string>
<string name="liquidity_is_an_initial_amount">This is an initial amount of inbound liquidity. It is used up as the group is paid, and after a year the LSP may reclaim what is unused. The fee comes out of the group's balance.</string>
<string name="i_understand">I understand</string>
<string name="receive_a_payment_first_it_opens_the_channel">Receive a payment first: it opens the channel.</string>
<string name="the_channel_holds_the_most_it_may_for_now">The channel holds the most a channel may on this network for now.</string>
<string name="the_operator_hasn_t_reported_what_the_lsp_sells">The operator hasn't reported what the LSP sells yet.</string>
<string name="the_lsp_sells_none_of_these_amounts">The LSP sells none of the amounts this app offers.</string>
<string name="adding_s_sats_of_inbound_liquidity">Adding %1$s sats of inbound liquidity</string>
<string name="waiting_for_the_last_splice_before_adding_s_sats">Waiting for the channel's last splice before adding %1$s sats</string>
<string name="couldn_t_add_liquidity_s">Couldn't add liquidity: %1$s</string>
<string name="inbound_liquidity_added_s_sats_for_s_sats">Inbound liquidity added: %1$s sats, for %2$s sats in fees</string>
<string name="stop_guarding_new_wallets">Stop guarding new wallets</string>
<string name="stop_guarding_new_members_wallets_question">Stop guarding new members' wallets?</string>
<string name="wallets_already_guarded_stay_guarded">Wallets already guarded stay guarded, and this group can still take their coins after their delay.</string>
@@ -801,9 +662,6 @@
<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="another_group">another group</string>
<string name="the_wallet_guarded_by_s">the wallet guarded by %1$s</string>
<string name="spend_from_s_as_s">Spend from %1$s as %2$s</string>
<string name="members_wallets">Members' wallets</string>
<string name="s_comma_s">%1$s, %2$s</string>
<plurals name="n_wallets">
@@ -849,10 +707,5 @@
<string name="in_the_mempool">In the mempool</string>
<string name="at_s">@%1$s</string>
<string name="members_guarded_wallets">Members' guarded wallets</string>
<string name="ask_this_group_to_guard_a_wallet_for_you">Ask this group to guard a wallet for you</string>
<string name="asked_by_s_not_yet_signed">Asked by %1$s, not yet signed</string>
<string name="put_to_the_group">Put to the group</string>
<string name="couldn_t_put_it_to_the_group">Couldn't put it to the group.</string>
<string name="wallets_your_groups_guard">Wallets your groups guard</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>