Nostr. Event. GoodWikiAuthors
(Nostr Lib v0.2.1)
(event)
(nip51)
View Source
Good Wiki Authors List (Kind 10101)
A list of NIP-54 user recommended wiki authors. Contains pubkeys via p tags.
Used to help users discover trustworthy wiki contributors.
Defined in NIP 51 https://github.com/nostr-protocol/nips/blob/master/51.md
Summary
Functions
Creates a new good wiki authors list (kind 10101).
Parses a kind 10101 event into a GoodWikiAuthors struct.
Types
@type t() :: %Nostr.Event.GoodWikiAuthors{authors: [binary()], event: Nostr.Event.t()}
Functions
Creates a new good wiki authors list (kind 10101).
Arguments
pubkeys- List of pubkeys of recommended wiki authorsopts- Optional event arguments (pubkey,created_at)
Example
iex> GoodWikiAuthors.create(["author_pubkey_1", "author_pubkey_2"])
@spec parse(Nostr.Event.t()) :: t()
Parses a kind 10101 event into a GoodWikiAuthors struct.