defy.tools

Class HDKIndexAbstract

Hierarchy (view full)

Constructors

Properties

documents: ContentDocument[] = []
encryptParent: HDKey
eventTag: string
parentDocument?: ContentDocument
signingParent: HDKey

Methods

  • Converts an encrypted 17761 kind NOSTR Event into a readable ContentDocument.

    Parameters

    • event: Event<number>

      the NOSTR event

    Returns Promise<undefined | ContentDocument>

    a decrypted ContentDocument containing the original NOSTR event.