feat(nostr): Add Nostr relay connection and status management
- Integrate nostr-tools for Nostr relay connectivity - Create NostrClient for managing relay connections - Implement useNostr composable for reactive connection handling - Add ConnectionStatus component to display relay connection state - Configure environment variable for Nostr relay endpoints - Update App.vue to manage Nostr connection lifecycle
This commit is contained in:
parent
6a5b64a382
commit
2a83972b47
7 changed files with 244 additions and 2 deletions
2
.env
2
.env
|
|
@ -1,3 +1,5 @@
|
|||
# Support agent's public key in npub format
|
||||
VITE_SUPPORT_NPUB=npub1tm42jkmdn54zncjcylp34e85jagmgndr0skw4v0rsg8rucmu7r5swayth3
|
||||
|
||||
VITE_NOSTR_RELAYS=["wss://relay.damus.io","wss://relay.nostr.info"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue