From 49c9f71aa28bbd8f11d473a0acd0b73a3ca95179 Mon Sep 17 00:00:00 2001 From: Dorian Date: Wed, 4 Mar 2026 00:23:52 +0000 Subject: [PATCH] feat(nostr): NIP-05 verification badge with 24h cache (M11.6) Verify NIP-05 identifiers by fetching .well-known/nostr.json from the domain. Results cached in localStorage for 24 hours. Green checkmark badge shown next to verified NIP-05 on note cards. Co-Authored-By: Claude Opus 4.6 --- .../app/src/components/content/NostrGrid.vue | 29 ++++++- .../src/composables/useNip05Verification.ts | 76 +++++++++++++++++++ 2 files changed, 103 insertions(+), 2 deletions(-) create mode 100644 packages/app/src/composables/useNip05Verification.ts diff --git a/packages/app/src/components/content/NostrGrid.vue b/packages/app/src/components/content/NostrGrid.vue index 38b492c9..1f18c566 100644 --- a/packages/app/src/components/content/NostrGrid.vue +++ b/packages/app/src/components/content/NostrGrid.vue @@ -143,7 +143,16 @@ {{ note.authorName ?? 'anon' }} - + + + + {{ note.nip05 }} @@ -209,11 +218,12 @@