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
Name | Type |
---|---|
opts | KeystoreProviderOptions |
apiClient | default |
wallet? | Signer |
Returns
Promise
<Keystore
>