Skip to content

nostr: rework TagStandard enum and parsing #907

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

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions