Options
All
  • Public
  • Public/Protected
  • All
Menu

Module <internal>

Index

Type Aliases

StorageLayer: { get: any; remove: any; set: any }

Type declaration

  • get:function
    • get<T>(key: string): Promise<T>
    • description

      Get the keystore from the storage

      Type Parameters

      • T = string

      Parameters

      • key: string

      Returns Promise<T>

  • remove:function
    • remove(key: string): Promise<void>
  • set:function
    • set<T>(key: string, value: T): Promise<void>
    • description

      Set the keystore to the storage

      Type Parameters

      • T = string

      Parameters

      • key: string
      • value: T

      Returns Promise<void>

ripemd160: ((message: Uint8Array | string) => Uint8Array)

Type declaration

    • (message: Uint8Array | string): Uint8Array
    • Parameters

      • message: Uint8Array | string

      Returns Uint8Array

sha256: ((message: Uint8Array | string) => Uint8Array)

Type declaration

    • (message: Uint8Array | string): Uint8Array
    • Parameters

      • message: Uint8Array | string

      Returns Uint8Array