KeyGeneratorKeystoreProvider
Class: KeyGeneratorKeystoreProvider
KeyGeneratorKeystoreProvider will create a new XMTP PrivateKeyBundle and persist it to the network
This provider should always be specified last in the list of keystoreProviders on client creation,
as it will overwrite any XMTP identities already on the network
Implements
Constructors
constructor
new KeyGeneratorKeystoreProvider()
Methods
newKeystore
newKeystore(opts, apiClient, wallet?): Promise<Keystore>
Parameters
| Name | Type |
|---|---|
opts | KeystoreProviderOptions |
apiClient | default |
wallet? | Signer |
Returns
Promise<Keystore>