Provides a local key manager for OrbitDB.
- Source:
Examples
const keystore = await KeyStore()
const storage = await MemoryStorage()
const keystore = await KeyStore({ storage })
Namespaces
Methods
(async) KeyStore(params) → {module:KeyStore~KeyStore}
Creates an instance of KeyStore.
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
params |
Object | One or more parameters for configuring KeyStore. Properties
|
- Source:
Returns:
An instance of KeyStore.