Skip to main content

NetworkKeystoreProvider

Class: NetworkKeystoreProvider

NetworkKeystoreProvider will look on the XMTP network for an EncryptedPrivateKeyBundle on the user's private storage topic. If found, will decrypt the bundle using a wallet signature and instantiate a Keystore instance using the decrypted value.

Implements

Constructors

constructor

new NetworkKeystoreProvider()

Methods

newKeystore

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

Parameters

NameType
optsKeystoreProviderOptions
apiClientdefault
wallet?Signer

Returns

Promise<Keystore>

Implementation of

KeystoreProvider.newKeystore

Defined in

keystore/providers/NetworkKeystoreProvider.ts:17

Was the information on this page helpful?