From 36f517e6dfb29a80d572b28922bf982d4d979056 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 22 Oct 2026 22:37:40 -0700 Subject: Custody card: plain words — "Allow coins to expire", "Minimize renewal cost", "Minimize exit cost"; no timelocks, rounds or "the old Coinos" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adam, 2026-10-23. Coins "expire"; the exit is "yours until then"; what a renewal buys is said without naming the mechanism. Co-Authored-By: Claude Fable 5.1 --- tools/ark/custody-ui-test.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'tools/ark') diff --git a/tools/ark/custody-ui-test.js b/tools/ark/custody-ui-test.js index 0b55d1c..7ebc2ea 100644 --- a/tools/ark/custody-ui-test.js +++ b/tools/ark/custody-ui-test.js @@ -77,18 +77,18 @@ try { let tx = await text(); assert.match(tx, /Custody/); - assert.match(tx, /Coinos holds my coins once they expire[\s\S]*no fees/); - assert.match(tx, /keeps its own exit until its timelock runs out/); - assert.doesNotMatch(tx, /Spending coin carries/); - assert.match(tx, /Keep my own exit[\s\S]*300 sats per renewal/); - assert.match(tx, /Keep my exit cheap[\s\S]*300 sats near expiry, 0\.2% \+ 300 sats when early/); + assert.match(tx, /Allow coins to expire[\s\S]*no fees/); + assert.match(tx, /keeps its own exit until it expires/); + assert.doesNotMatch(tx, /timelock|Spending coin carries|old Coinos/, 'no jargon on the card'); + assert.match(tx, /Minimize renewal cost[\s\S]*300 sats per renewal/); + assert.match(tx, /Minimize exit cost[\s\S]*300 sats near expiry, 0\.2% \+ 300 sats when early/); assert.match(tx, /4 hops deep/); const checked = await page.$$eval('.ark-custody input[type=radio]', (els) => els.filter((e) => e.checked).map((e) => e.value)); assert.deepEqual(checked, ['custodial'], 'coinos holds the coins by default'); assert.equal(await page.evaluate(() => coopFeature.getCustody()), 'custodial'); assert.match(tx, /held by Coinos/, 'the coin past its timelock is held, not "expired"'); - assert.doesNotMatch(tx, /\bexpired\b/); - assert.match(tx, /With “Coinos holds my coins once they expire”, nothing renews on its own/); + assert.doesNotMatch(tx, /5,000 sats\s+expired/, 'the row never says "expired"'); + assert.match(tx, /With “Allow coins to expire”, nothing renews on its own/); if (process.env.SHOT) await page.screenshot({ path: process.env.SHOT, fullPage: true }); console.log('✓ the custody card: three tiers with their prices, coinos holding by default, a past-timelock coin shown as held'); -- cgit v1.2.3