@chromia/ft4 - v2.1.0
    Preparing search index...

    Function createGenericEvmKeyStore

    • 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>

      EvmKeyStore instance with the provided configuration