• Creates a EvmKeyStore instance with the specified parameters. This allows the caller to create a custom implementation of an EvmKeyStore. This is useful to add support for different web3 providers that are not supported by any of the currently provided implementations.

    Parameters

    • config: {
          address: string;
          isInteractive: undefined | boolean;
          signMessage: ((message) => Promise<string>);
      }

      the config to use when creating the key store

      • address: string

        The evm address that corresponds to the key that this keystore holds

      • isInteractive: undefined | boolean

        Is this an interactive keystore

      • signMessage: ((message) => Promise<string>)

        Function that will be used to sign a message

        Returns

        signature encoded as a string

          • (message): Promise<string>
          • Parameters

            • message: string

              the message to sign

            Returns Promise<string>

    Returns Promise<EvmKeyStore>

    EvmKeyStore instance with the provided configuration