diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-04 10:42:18 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-04 10:42:18 +0000 |
| commit | 9394657613014891ff91db6cd0a01b21bb257053 (patch) | |
| tree | e59ff64c5463039e4304928b3b24377e3e438822 /src/nostr/mod.rs | |
| parent | 52bad9954cdddf55ab749fd0c6387edbc766632f (diff) | |
feat: implement NIP-01 compliant Nostr relay
- WebSocket-based relay using tokio-tungstenite
- Full NIP-01 protocol support (EVENT, REQ, CLOSE)
- Event validation (signature and ID)
- In-memory event storage
- Filter support (IDs, authors, kinds, since/until)
- Configuration via environment variables
- Nix flake for reproducible builds
- Test automation script
All 6 NIP-01 smoke tests passing (100%)
Diffstat (limited to 'src/nostr/mod.rs')
| -rw-r--r-- | src/nostr/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nostr/mod.rs b/src/nostr/mod.rs new file mode 100644 index 0000000..6193dd9 --- /dev/null +++ b/src/nostr/mod.rs | |||
| @@ -0,0 +1 @@ | |||
| pub mod relay; | |||