Skip to main content

KeystoreProvider

Interface: KeystoreProvider

A Keystore Provider is responsible for either creating a Keystore instance or throwing a KeystoreUnavailableError It is typically used once on application startup to bootstrap the Keystore and load/decrypt the user's private keys

Implemented by

Methods

newKeystore

newKeystore(opts, apiClient, wallet?): Promise<Keystore>

Parameters

NameType
optsKeystoreProviderOptions
apiClientdefault
wallet?Signer

Returns

Promise<Keystore>

Defined in

keystore/providers/interfaces.ts:17

Was the information on this page helpful?