AlchemySignerWebClient

Initializes a new instance with the given parameters, setting up the connection, iframe configuration, and WebAuthn stamper.

AlchemySignerWebClient extends BaseSignerClient, see the docs for BaseSignerClient for all supported methods.

Import

1import { AlchemySignerWebClient } from "@account-kit/signer";

Usage

1import { AlchemySignerWebClient } from "@account-kit/signer";
2
3const client = new AlchemySignerWebClient({
4 connection: {
5 apiKey: "your-api-key",
6 },
7 iframeConfig: {
8 iframeContainerId: "signer-iframe-container",
9 },
10});

Parameters

params

AlchemySignerClientParams the parameters required to initialize the client

params.connection

ConnectionConfig The connection details needed to connect to the service

params.iframeConfig

{ iframeElementId?: string; iframeContainerId: string } The configuration details for setting up the iframe stamper

params.rpId

string The relying party ID, defaulting to the current hostname if not provided

params.rootOrgId

string The root organization ID