From 17659d975b56548a1c5ee49f879d7dbea8d61e91 Mon Sep 17 00:00:00 2001 From: KaffinPX <73744616+KaffinPX@users.noreply.github.com> Date: Wed, 2 Aug 2023 02:35:37 +0300 Subject: [PATCH] NIP-101: Mailing lists --- 101.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 101.md diff --git a/101.md b/101.md new file mode 100644 index 00000000..d81ca700 --- /dev/null +++ b/101.md @@ -0,0 +1,33 @@ + +NIP-101 +====== + +Mailing lists +------------- + +`final` `optional` `author:KaffinPX` + +Mailing lists are subscriptions for receiving materials from inviduals or organizations, `kind 1923` can be used for subscribing to mailing lists owned by an user. + +`tags` MUST contain an entry identifying the invidiual or organization subscribing to, in the form of `["p", ""]`. + +The `content` MUST contain a valid e-mail address encrypted by same method of encrypted direct messages(NIP-04) for subscribed pubkey. + +`tags` MAY contain an entry identifying the topic subscribing to, in the form of `["t", ""]`. + +**As example:** + +```json +{ + "kind": 1923, + "tags": [ + ["p", ], + ["t", "nostr"] + ], + "content": , + ... +} +``` + +After that, invidual or organization can fetch, filter, decrypt and check events for subscribed e-mail addresses. +Can be unsubscribed from mailing lists by event deletion(NIP-09).