From 05b951e88197c3125e06848702333793b606605d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 24 Jun 2026 08:28:13 -0700 Subject: Add Hal Finney tribute line to How it works MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A footnote at the bottom: "The name Hal Wallet is a tribute to legendary cypherpunk and Bitcoin pioneer, Hal Finney (1956–2014)", with his name linking to his Wikipedia article. The contextual nod, rather than leaning on his name up front. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/app.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index 03ea770..409e37e 100644 --- a/src/app.js +++ b/src/app.js @@ -271,7 +271,8 @@ function howItWorksScreen() { para('hiwBasics2'), para('hiwBasics3'), para('hiwBasics4'), - para('hiwBasics5') + para('hiwBasics5'), + h('p', { class: 'small muted hiw-tribute', style: 'margin:0' }, ...linkify(t('hiwTribute'))) ), h('button', { class: 'btn-block', onClick: back }, t('back')) ); @@ -279,7 +280,10 @@ function howItWorksScreen() { // Turn known tokens (e.g. mempool.space) into links within a plain string, // returning an array of text + anchor nodes. Keeps i18n strings link-free. -const HIW_LINKS = [['mempool.space', 'https://mempool.space']]; +const HIW_LINKS = [ + ['mempool.space', 'https://mempool.space'], + ['Hal Finney', 'https://en.wikipedia.org/wiki/Hal_Finney_(computer_scientist)'], +]; function linkify(text) { const esc = (s) => s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); const re = new RegExp('(' + HIW_LINKS.map(([tok]) => esc(tok)).join('|') + ')', 'g'); -- cgit v1.2.3