AlchemyWebSigner
Initializes an instance with the provided Alchemy signer parameters after parsing them with a schema.
Import
import { AlchemyWebSigner } from "@account-kit/signer";
Usage
import { AlchemyWebSigner } from "@account-kit/signer";
const signer = new AlchemyWebSigner({
client: {
connection: {
rpcUrl: "/api/rpc",
},
iframeConfig: {
iframeContainerId: "alchemy-signer-iframe-container",
},
},
});
Parameters
params
AlchemySignerParams
The parameters for the Alchemy signer, including the client and session configuration