A reference to a private forest. Used for the private file system.

Constructors

  • Creates a new private forest.

    Parameters

    • rng: Rng
    • Optional rsa_modulus_big_endian: Uint8Array

    Returns PrivateForest

Methods

  • Parameters

    Returns Promise<any>

  • Returns Name

  • Returns void

  • Parameters

    Returns Promise<any>

  • Stores this private forest in provided block store. Returns the CID from which it can be .load()ed again.

    Parameters

    Returns Promise<any>

  • Loads an existing private forest from a given CID You need to have previously .store()ed it to get its CID.

    Parameters

    Returns Promise<any>

Generated using TypeDoc