-
- Important: This relay is designed for WebSocket connections only. HTTP requests are not supported for data operations.
-
-
-
Connection Details
-
Connect to the relay using WebSocket:
-
ws://localhost:6942
-
-
-
-
Nostr Commands
-
- REQ
- Subscribe to events
- EVENT
- Publish an event
- CLOSE
- Close a subscription
-
-
-
-
-
CCN Commands
-
- CCN CREATE
- Create a new CCN
- CCN LIST
- List all active CCNs
- CCN ACTIVATE
- Activate a specific CCN
-
-
-
-
-
Documentation
-
For detailed information about Arx-CCN functionality and best practices, please refer to the official documentation.
-
View Documentation
-
-
-
\ No newline at end of file
diff --git a/src/UserConnection.ts b/src/UserConnection.ts
deleted file mode 100644
index e03c936..0000000
--- a/src/UserConnection.ts
+++ /dev/null
@@ -1,61 +0,0 @@
-import type { Database } from 'jsr:@db/sqlite';
-import type { NostrEvent, NostrFilter } from 'jsr:@nostrify/types';
-
-export class UserConnection {
- public socket: WebSocket;
- public subscriptions: Map