Add client support for NIP-02 (manage contact lists)

This commit is contained in:
Wilson Silva
2023-02-15 18:29:12 +07:00
parent e6e4f576e3
commit 19f07efdeb
5 changed files with 40 additions and 5 deletions

View File

@@ -24,5 +24,12 @@ module Nostr
# @return [Integer]
#
RECOMMEND_SERVER = 2
# A special event with kind 3, meaning "contact list" is defined as having a list of p tags, one for each of
# the followed/known profiles one is following.
#
# @return [Integer]
#
CONTACT_LIST = 3
end
end