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