# createGenericEvmKeyStore · FT4 TypeScript client · Chromia Docs (concept)

> createGenericEvmKeyStore(
    config: {
        address: string;
        isInteractive: boolean | undefined;
        merkleHashVersion: number;
        sig

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/authentication.createGenericEvmKeyStore/

Function

# createGenericEvmKeyStore

* ```signature
  createGenericEvmKeyStore(
      config: {
          address: string;
          isInteractive: boolean | undefined;
          merkleHashVersion: number;
          signMessage: (message: string) => Promise<string>;
      },
  ): Promise<EvmKeyStore>
  ```

  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: boolean | undefined;  
        merkleHashVersion: number;  
        signMessage: (message: string) => 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: boolean | undefined

      Is this an interactive keystore
    - ##### merkleHashVersion: number

      The merkle hash version to use
    - ##### signMessage: (message: string) => Promise<string>

      Function that will be used to sign a message

  #### Returns Promise<[EvmKeyStore](https://docs.chromia.com/pages/ft4-ts-client/interfaces/authentication.EvmKeyStore/)>

  `EvmKeyStore` instance with the provided configuration

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/authentication.createGenericEvmKeyStore.html)Generated API reference, mirrored from the live docs
