Add NIP-42 relay authentication support

Sign kind 22242 AUTH events automatically when relays send challenges.
Uses a signer ref pattern so the pool doesn't need to be recreated
when the user logs in/out or switches accounts.
This commit is contained in:
Alex Gleason committed 2026-03-25 02:14:41 -05:00
1 parent 699a3acb85
commit cb52a18d09
3 files changed
+58 -3

No files matched your search

+1
View File
@@ -13,6 +13,7 @@
"@hookform/resolvers": "^5.2.2",
"@nostrify/nostrify": "^0.51.0",
"@nostrify/react": "^0.3.1",
"@nostrify/types": "^0.36.9",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-aspect-ratio": "^1.1.0",