Skip to content

nostr: rework TagStandard enum and parsing #907

@yukibtc

Description

@yukibtc

The TagStandard should be parsed depending on the event kind.

NIP01 tags (p, e and a) must always be parsed, regardless of the event kind.

Also, rework the enum to something like this:

pub enum TagStandard {
    NIP01(TagStandardNip01),
    NIP02(TagStandardNip02),
    // ...
}

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions