defy.tools

Class HDKXTimeBasedPublic

Uses a public key to derive the next signer and encrypt keys based on the event created_at value and uses the encrypt.publicKey to read/write content.

USE CASE: channel notes, reactions

Hierarchy

  • HDKTimeBased
    • HDKXTimeBasedPublic

Constructors

Properties

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

Methods

  • Parameters

    Returns Promise<Event<number>>

  • Parameters

    Returns Event<number>