implement basic protocol in nip-01

This commit is contained in:
jeffthibault
2022-07-20 14:51:44 -04:00
parent 3964d0fe06
commit 8323b3e948
7 changed files with 259 additions and 0 deletions

9
nostr/message_type.py Normal file
View File

@@ -0,0 +1,9 @@
class ClientMessageType:
EVENT = "EVENT"
REQUEST = "REQ"
CLOSE = "CLOSE"
class RelayMessageType:
EVENT = "EVENT"
NOTICE = "NOTICE"