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

> createInMemoryEvmKeyStore(keyPair: KeyPair): EvmKeyStore Creates an EvmKeyStore instance which will only keep the keys in memory. That is,
if the app is re

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

Function

# createInMemoryEvmKeyStore

* ```signature
  createInMemoryEvmKeyStore(keyPair: KeyPair): EvmKeyStore
  ```

  Creates an EvmKeyStore instance which will only keep the keys in memory. That is,
  if the app is restarted or reloaded, the keys will be gone. Good for testing or
  for keys that are ephemeral in nature.

  #### Parameters

  + keyPair: KeyPair

    the object that holds the keys

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

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