forked from Rockachopa/Timmy-time-dashboard
Co-authored-by: Claude (Opus 4.6) <claude@hermes.local> Co-committed-by: Claude (Opus 4.6) <claude@hermes.local>
This commit is contained in:
18
src/infrastructure/nostr/__init__.py
Normal file
18
src/infrastructure/nostr/__init__.py
Normal file
@@ -0,0 +1,18 @@
|
||||
"""Nostr identity infrastructure for Timmy.
|
||||
|
||||
Provides keypair management, NIP-01 event signing, WebSocket relay client,
|
||||
and identity lifecycle management (Kind 0 profile, Kind 31990 capability card).
|
||||
|
||||
All components degrade gracefully when the Nostr relay is unavailable.
|
||||
|
||||
Usage
|
||||
-----
|
||||
from infrastructure.nostr.identity import NostrIdentityManager
|
||||
|
||||
manager = NostrIdentityManager()
|
||||
await manager.announce() # publishes Kind 0 + Kind 31990
|
||||
"""
|
||||
|
||||
from infrastructure.nostr.identity import NostrIdentityManager
|
||||
|
||||
__all__ = ["NostrIdentityManager"]
|
||||
Reference in New Issue
Block a user