Constructors

Properties

context: EventFactoryContext = {}

Methods

  • Create a NIP-22 comment

    Parameters

    Returns Promise<EventTemplate>

  • Creates a delete event

    Parameters

    • Rest...args: [events: Event[], reason?: string]

    Returns Promise<EventTemplate>

  • Creates a short text note reply

    Parameters

    Returns Promise<EventTemplate>

  • Creates a reaction event

    Parameters

    Returns Promise<EventTemplate>

  • Creates a share event

    Parameters

    • Rest...args: [event: Event]

    Returns Promise<EventTemplate>