aboutsummaryrefslogtreecommitdiffstats
path: root/routes/nostr.ts
Commit message (Collapse)AuthorAgeFilesLines
* nostr: resolve NIP-05 via the v3 registrar first; empty (not 500) on unknown ↵Adam Soltys2026-08-171-1/+15
| | | | | | | | | | | name A claimed name's NIP-05 belongs to its wallet key in the registrar, so query NAMES_URL/.well-known/nostr.json first and fall back to the local lookup for legacy accounts. Return an empty names object for an unknown name per NIP-05 instead of throwing a 500. Co-Authored-By: Claude Opus 4.8 <[email protected]>
* bolt12 zaps: pay offers, NWC pay/receive, per-user offers, NIP-44Adam Soltys2026-07-301-28/+41
| | | | | | | | | | | | | | | | - sendLightning fetches an invoice from lno1 offers (payer_note passthrough for NIP-177 zap intents) and pays it through the existing bolt12 path - NWC: new nwc#2 pay/receive methods (BIP-321 URIs, payer proofs stubbed until CLN 26.06 createproof), nip44_v2 alongside nip04 with per-request scheme detection, dual 23196/23197 notifications, 13194 refreshed when its content or encryption tag goes stale - standing per-user bolt12 offer via GET /offer; incoming bolt12 payments record invreq_payer_note as memo - parse/fetchinvoice routes handle offers; zap display parses kind 9736 receipts (amount tag + embedded intent) and drops a call to a sync() helper that never existed Co-Authored-By: Claude Fable 5 <[email protected]>
* remove logsAdam Soltys2026-03-171-11/+1
|
* use bytes for nostr toolsAdam Soltys2026-03-131-0/+1
|
* default app on registerAdam Soltys2025-02-111-5/+4
|
* nostr workAdam Soltys2025-01-281-20/+52
|
* unified event endpointAdam Soltys2025-01-231-16/+61
|
* pubkeysAdam Soltys2025-01-231-4/+3
|
* hardcode zap relaysAdam Soltys2025-01-231-1/+1
|
* followsAdam Soltys2025-01-231-70/+66
|
* notes and stuffAdam Soltys2025-01-211-58/+51
|
* nostr threadsAdam Soltys2025-01-201-0/+57
|
* fix zap amountAdam Soltys2025-01-181-2/+2
|
* fix zap request encodingAdam Soltys2025-01-181-5/+4
|
* encodeURI zap requestsAdam Soltys2025-01-181-1/+1
|
* prettierAdam Soltys2025-01-181-11/+11
|
* log zap failuresAdam Soltys2025-01-191-0/+6
|
* parse npubsAdam Soltys2025-01-181-1/+1
|
* return event partsAdam Soltys2025-01-171-0/+17
|
* send zaps for internal paymentsAdam Soltys2025-01-171-1/+1
|
* handle no zaps caseAdam Soltys2025-01-171-5/+8
|
* zap endpointsAdam Soltys2025-01-161-9/+86
|
* sign endpointAdam Soltys2025-01-151-3/+3
|
* public fieldsAdam Soltys2025-01-141-12/+7
|
* use strfry scanAdam Soltys2025-01-141-73/+48
|
* return relaysAdam Soltys2024-11-211-2/+3
|
* ecash requestsAdam Soltys2024-11-211-4/+15
|
* biome lintAdam Soltys2024-10-311-35/+35
|
* cache followsAdam Soltys2024-10-141-1/+1
|
* typoAdam Soltys2024-10-141-1/+1
|
* add to pending right awayAdam Soltys2024-10-141-1/+1
|
* pubkeys cacheAdam Soltys2024-10-141-18/+24
|
* use cached event for tagsonlyAdam Soltys2024-10-111-2/+2
|
* check relay tagsAdam Soltys2024-10-101-1/+1
|
* check for eventAdam Soltys2024-10-101-0/+1
|
* follow countsAdam Soltys2024-10-101-2/+1
|
* 2s maxwaitAdam Soltys2024-10-101-19/+89
|
* followsAdam Soltys2024-10-101-21/+7
|
* use primal cacheAdam Soltys2024-10-101-23/+16
|
* nostr revamp wipAdam Soltys2024-10-101-153/+67
|
* wip socket communicationAdam Soltys2024-10-101-18/+19
|
* refactor nwcAdam Soltys2024-09-181-2/+2
|
* cashu dev branchAdam Soltys2024-09-031-11/+29
|
* typescriptAdam Soltys2024-08-261-0/+213