aboutsummaryrefslogtreecommitdiffstats
path: root/lib/notes.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-17 22:32:03 -0700
committerAdam Soltys <[email protected]>2026-08-17 22:32:03 -0700
commit51b9f1a267a682a86e528bef424b245c63e5cb19 (patch)
tree41c199950490e6ab36a8fe22347e231ef12b99a2 /lib/notes.ts
parentf385ae87f7b65ef2e2cc7caaedc78170c6c99392 (diff)
downloadcoinos-server-51b9f1a267a682a86e528bef424b245c63e5cb19.tar.gz
coinos-server-51b9f1a267a682a86e528bef424b245c63e5cb19.zip
nostr: resolve NIP-05 via the v3 registrar first; empty (not 500) on unknown 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]>
Diffstat (limited to 'lib/notes.ts')
0 files changed, 0 insertions, 0 deletions