aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-29 00:50:09 -0700
committerAdam Soltys <[email protected]>2026-08-29 00:50:09 -0700
commit2023fe06d5cc4867f09d5916680b5fe92394dacb (patch)
treeaf8e230bd283776273537da60fe9c0d6782cba28 /src/i18n.js
parent8ea0416c08535750839088c060d3252415510cc5 (diff)
downloadcoinosv3-2023fe06d5cc4867f09d5916680b5fe92394dacb.tar.gz
coinosv3-2023fe06d5cc4867f09d5916680b5fe92394dacb.zip
The wallet learns to read BOLT 12 for itself: offers and invoices decode client-side, and every invoice the ASP fetches over onion messages is verified here — payment hash read from the raw TLVs, offer terms mirrored byte-for-byte, the issuer's schnorr signature checked against LDK's exact merkle construction (proven against a live CLN-signed fixture) — so no server can hand back an invoice whose preimage it already holds. Paste an lno1 or resolve a name whose record carries one and the existing HTLC pay flow carries it (captaind's Invoice enum takes lni strings natively); a name's owner may now publish their OWN node's offer in their DNS record, retiring the registrar's stand-in — senders fetch invoices straight from their node and no coinos service ever touches the money. The /lnquote fallback prices blinded paths by entry node + advertised payinfo
Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_019WboeoetMF3MTmgT7Ew8yi
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i18n.js b/src/i18n.js
index ca7ded5..c5d9d20 100644
--- a/src/i18n.js
+++ b/src/i18n.js
@@ -739,6 +739,10 @@ const STR = {
namesOwnNodeSet: 'Delivery updated — payments go to your node',
namesOwnNodeCleared: 'Payments land in this wallet again',
namesOwnNodeNoRelay: 'That offer code names no relay',
+ namesOwnLnoHow: 'Or paste your node’s BOLT12 offer (lno1…) — it goes into your address’s DNS record, so senders fetch invoices straight from your node.',
+ namesOwnLnoActive: 'Your address’s DNS record carries your own node’s offer:',
+ namesOwnLnoBad: 'That doesn’t look like a BOLT12 offer',
+ bolt12Currency: 'This offer is priced in {currency}, which this wallet can’t pay',
clinkBadInvoice: 'The recipient’s service returned an invoice that doesn’t match',
clinkFixedAmount: 'This offer has a fixed price',
nwcTitle: 'Nostr Wallet Connect',