diff options
| author | Adam Soltys <[email protected]> | 2026-06-24 08:28:13 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-24 08:28:13 -0700 |
| commit | 05b951e88197c3125e06848702333793b606605d (patch) | |
| tree | ce039b2d6c325e628d2a6ed12c2534b340ae6121 /src | |
| parent | 09647e5ed33aa093fecbd93fc100155ce6097c67 (diff) | |
| download | coinosv3-05b951e88197c3125e06848702333793b606605d.tar.gz coinosv3-05b951e88197c3125e06848702333793b606605d.zip | |
Add Hal Finney tribute line to How it works
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) <[email protected]>
Diffstat (limited to 'src')
| -rw-r--r-- | src/app.js | 8 | ||||
| -rw-r--r-- | src/i18n.js | 1 | ||||
| -rw-r--r-- | src/style.css | 1 |
3 files changed, 8 insertions, 2 deletions
@@ -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'); diff --git a/src/i18n.js b/src/i18n.js index 67eb29b..f8655a1 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -67,6 +67,7 @@ const STR = { hiwBasics3: 'There’s no server and no account. The whole app is a single page that runs in your browser, so nobody holds your coins and nothing on a server ever sees your keys. To show your balance and history it reads from a public block explorer (mempool.space by default, or your own node if you set one in Settings).', hiwBasics4: 'You can even save this page and open it straight from your computer with no internet at all. It keeps working offline.', hiwBasics5: 'It follows the usual Bitcoin standards (a 12-word BIP39 phrase and BIP84 native SegWit keys), so if this site ever disappears you can restore the same phrase in Sparrow, Electrum, or any other standard wallet and your coins will be right there.', + hiwTribute: 'The name Hal Wallet is a tribute to legendary cypherpunk and Bitcoin pioneer, Hal Finney (1956–2014).', balance: 'Balance', pending: 'Pending', tabReceive: 'Receive', diff --git a/src/style.css b/src/style.css index a74c7e5..b563ca3 100644 --- a/src/style.css +++ b/src/style.css @@ -157,6 +157,7 @@ textarea { resize: vertical; min-height: 84px; font-family: var(--mono); font-si border-radius: 11px; padding: 12px 14px; word-break: break-all; text-align: center; } .path { font-family: var(--mono); font-size: 12px; color: var(--faint); } +.hiw-tribute { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px !important; } .addr-check { font-family: var(--mono); font-size: 12px; line-height: 1.5; color: var(--muted); word-break: break-all; padding: 0 2px; } .addr-check .hl { color: var(--ink); font-weight: 700; } |
