Type Aliases
StorageLayer
StorageLayer: { get: any; remove: any; set: any }
Type declaration
get:function
- get<T>(key: string): Promise<T>
Type Parameters
Parameters
Returns Promise<T>
remove:function
- remove(key: string): Promise<void>
Parameters
Returns Promise<void>
set:function
- set<T>(key: string, value: T): Promise<void>
Type Parameters
Parameters
Returns Promise<void>
ripemd160
ripemd160: ((message: Uint8Array | string) => Uint8Array)
Type declaration
- (message: Uint8Array | string): Uint8Array
Parameters
message: Uint8Array | string
Returns Uint8Array
sha256
sha256: ((message: Uint8Array | string) => Uint8Array)
Type declaration
- (message: Uint8Array | string): Uint8Array
Parameters
message: Uint8Array | string
Returns Uint8Array
Get the keystore from the storage