Branch web-wallet/lovejoin-v2, from main at c15603d5. It’s chunk 42’s step 9: the wallet moves to Lovejoin v2, and the older pools keep their withdrawals alone.
Status: ✅ built for 1.8.0: #363 (44a), #364 (44b), and the release’s PR from web-wallet/release-1.8.0 (44c’s head start, 44d, and the release review’s fixes), with which this file moved to the archive. What still holds is in architecture.md (Lovejoin v2, and the retired pools), flows.md, privacy.md and the privacy policy’s entry of 6 November 2026; what’s left open is in backlog.md. Still the owner’s: the data layer’s deploy, the mainnet v2 5 ₳ pool’s launch, and that pool’s Cardanoscan names (44c, below). What its PRs did is last.
v2 is Lovejoin main at 29573c5 (Lovejoin PRs #165 and #166). Its five templates are 8131b1d’s, except mix_logic, whose xor32 checks both lengths: unapplied 62befd1e… becomes 7fb45b75…. The bytes the wallet pins are the ones seedelf-verification proves (Lovejoin/Template/Scripts/mix_logic.hex, 3439 bytes).
one_shot_mint is unchanged, so a seed makes the same P, and the same pool id, under either set. Only L, and through it M, say which set a pool runs: the datum’s mix_logic decides.Its own PR: core, WebAssembly, the data layer’s copy, and the extension’s discovery and launch checks, as the copies change together. After it merges and the data layer is deployed, a dev build can launch the v2 pool. Wallets already installed drop v2 pools: their verify_pool refuses them.
seedelf-core/src/lovejoin/):
templates.rs: Set::V1 (8131b1d) and Set::V2 (COMMIT_V2, MIX_LOGIC_V2), never an edit to V1’s.
derive keeps V1’s meaning, so its callers’ tests run unedited. derive_in(set, …) sits beside it.derive_for(seed, datum's L) applies P once and tries V2’s L first. With no match it returns V2’s scripts, so verify_pool refuses in its old order.Derived.set records the set.Version::V2 beside Classic and TokenV1 ("v2" in JavaScript), and Version::retired().verify_pool reads the set from the datum’s L and accepts both; WebAssembly’s protocol_of resolves hash-named script rows on that set too.mix_logic is 29 bytes longer.v2_templates_are_frozen, a_seed_derives_each_sets_scripts, only_v2_takes_new_boxes; the vectors file’s v2 section.seedelf-data/api/src/lovejoin/): Set, derive_in, derive_for, v2’s mix_logic, and version on each pool lovejoin/pools serves.standard.rs, the extension’s lovejoin-pools.ts and tests/fixtures/lovejoin-shown.json (two scenarios added).
version: "v2" (absent for every pool kept before, so old records are unchanged), and so do LovejoinPool and the status. A launch is a copy only of a v2 pool, and joins only v2 pools (worker and form).wasm/tests/fixtures/lovejoin-v2-token-pool-preprod.json: Lovejoin’s preprod token-pool launch with its scripts derived on v2 and put at the holder. It’s never on chain, and lovejoin_v2_fixture_test.rs writes it and verifies it as v2 (RECORD_LOVEJOIN_V2_FIXTURE=1). The tests that a start of a listed pool’s values is a copy run on it, and 44b’s fixtures can grow from it.Branch web-wallet/lovejoin-v2-retire, from main at c441881e (#363 merged). Its own PR. The worker’s tests ran their mixes and returns on the classic preprod pool, so retiring it moved them to v2 pools.
lovejoin.ts): isRetired is the classic pool and every pool not on v2’s scripts. usableNow and takesNewBoxes refuse a deposit, a mix, Mix again and Bootstrap there, retired in words, before anything is built or read; every way of mixing asks there. Every withdraw stays. A request naming no pool is still the classic pool’s, so it’s refused: the screens name the pool they mix in.adaPool): the first v2 ADA pool of 5 ₳ a box that isn’t a copy, as discovery last kept them. It takes a return’s spare ADA (chain() asked for no pool, and acrossOf’s ADA leg), a swap’s price (priced, 64 boxes a deposit at most) and the collateral (collateralPool, collateralPoolTakes, funding’s tail). None shown: the return comes back directly, saying sess.skip.warn.noAdaPool. The chain and the ADA’s collateral now share that pool: WebAssembly’s two draws for the collateral’s mix already avoid what the chain spends. A chain names the pool’s box value (values) for its review.
retireOnce, at every withdrawDue run, so 1.8.0’s first unlock): the first run that finds the wallet with something in a retired pool marks the record (retired), lets each Bootstrap there go (released), ends a collateral’s mix left to build there (tail.over, and tailChain refuses one), and asks Bring every box back over the retired pools alone (Bringing.retired). Once a network; nothing is written for a wallet with nothing there.
sortOut’s old, and moreThanDue, the scheduled withdraw’s check and Bring one back now’s choice with it). In v2 pools every hold is as it was.shownOnHub), withdraw-only with its reason, as a copy is: no Bootstrap offered, no start-up meter. Home already showed a pool’s row only while it held something. Settings and the pool’s page follow the retired pools’ run (“Bringing every box in the retired pools back”). The 10 ₳ words say 5 ₳: the dApps tile, Lovejoin’s aside, Settings’ note, the connector’s reviews. The launch’s 10 ₳ rule stays (the owner’s call), its “or mix in the classic pool” gone.lovejoin_width_test.rs, docs/lovejoin-mix-width.md): v2’s xor32 costs 6 million steps more at three a mix and 10.8 million at four. Four still fits, by 100.3 million (1.0%), and the estimates stand: 0.837 ₳ against MIX_FEE_ESTIMATE’s 0.95 ₳, 1.230 ₳ against 1.35 ₳.wasm/tests/fixtures/lovejoin-v2-ada-pool-preprod.json (a v2 5 ₳ pool, never on chain, its own seed and launch so it reads beside the v2 token pool) and tests/v2-pools.ts; lovejoin-retired.test.ts holds the four calls. ✅ The rest of the worker’s tests moved off the classic pool: every mix, return, Bootstrap and hold runs in the 5 ₳ pool or the v2 token pool, and a test of the classic pool’s own boxes marks its record retired first.fivePool puts the v2 ADA fixture at the holder above the head start’s height and answers its launch’s tx_info, so the page’s look finds it, with 20 boxes at its mix_box (on mainnet, empty, for the floor’s test). Twelve tests moved, their figures 5 ₳ boxes’, a return’s chain twelve transactions with its collateral’s mix.adaPool’s ask): the data layer’s list, on mainnet. On preprod only the page’s look reads the holder, so the head start must carry the pool (44c). Superseded by the release review’s O1: an ask that finds no pool kept or listed looks itself, as the page does (44c, below).retired, so the bring-back started again at every run; and a collateral’s mix drew from the rows read before its chain on every try, so a box another chain reserved since was drawn again until the return gave up (tailRows: each try’s own read).47bece42…, launch 70f25b5a…, block 5378705) and reviewed 44b on it. The dev test wallet, on 44b’s build, Bootstrapped 60 boxes into it: 20 from the private balance (7fb3ea9d…), 10 and 30 from the public account (622fe454…, 6f92fbc4…). Restoring it brought its 92 boxes in retired 8131b1d pools back by themselves within two minutes (retireOnce), not waiting for the unlock delay, which the owner kept (2026-11-06).1beba3fb, the release branch’s prep): npm run lovejoin-pools bundles preprod’s 47bece42…; mainnet’s holds no v2 pool yet.lookSoon, O1; r2-critic#2), and Settings’ Bring every box back looks first (critic#2);lovejoin-1-5-0’s head-start case holds the v2 pools apart, and the e2e’s fivePool puts its boxes at the bundled pool’s mix_box (D6).seedelf-data/ (44a’s templates and the review’s V2 and V3) and the token decimals changed since web-wallet/1.7.2. It must run before the mainnet launch: a data layer from before 44a refuses a v2 pool and keeps that verdict until it restarts.npm run lovejoin-registry names its four scripts “… v2 (5 ADA)”, linked to 29573c5’s contracts (D3), and the owner sends the fork’s PR. The fork’s uncommitted entries for mainnet’s 8131b1d 5 ₳ pool (dc6abe3b…, from 1.7.0’s run) are still the owner’s to send or discard.web-wallet/1.8.0, and the record PR (docs/releases.md).web-wallet/lovejoin-v2, merged as c441881e): 44a. Core’s two pinned template sets, Set::V1 (8131b1d) and Set::V2 (29573c5), verify_pool taking the set from the datum’s L, and launches on v2 alone; the data layer’s copy of both, with version on lovejoin/pools; the shown rule per set and values in all three copies, held to the shared fixtures; the extension’s version: "v2" on found pools, launches and the status; and the v2 token-pool fixture.web-wallet/lovejoin-v2-retire, merged as a6c94743): 44b. The older pools withdraw-only (isRetired, takesNewBoxes, usableNow); returns, a swap’s price and the collateral into v2’s 5 ₳ pool (adaPool); the first unlock’s bring-back over the retired pools (retireOnce); nothing held in a retired pool; the hub’s retired rows and the 5 ₳ words; v2’s mix widths measured; and the worker’s tests and twelve e2e tests moved onto v2’s pools.web-wallet/release-1.8.0): 1.8.0’s version, the DRep lists, the token decimals and preprod’s head start (1beba3fb); the release review’s fixes, its eight lanes’ and the lead’s (no pool, then a pool: O1–O6; the first unlock’s bring-back and the retired pools: R1–R8, critic#3 and #5; the 5 ₳ pool shared: P1, P2; a swap approved on 1.7.2: critic#4; the words, the screens and 44a’s: W, S and V), and round two’s; lovejoin-registry’s v2 pools (D3); and 44d’s docs, with this plan moved here.