UNPKG

@alchemy/aa-core

Version:

viem based SDK that enables interactions with ERC-4337 Smart Accounts. ABIs are based off the definitions generated in @account-abstraction/contracts

7 lines (6 loc) 516 B
import { type Chain } from "viem"; import { type SmartContractAccount } from "../account/smartContractAccount.js"; import { type BundlerClient } from "../client/bundlerClient.js"; import type { DefaultEntryPointVersion } from "../entrypoint/types.js"; export declare const createDummySmartContractAccount: <C extends BundlerClient>(client: C) => Promise<SmartContractAccount<"dummy", DefaultEntryPointVersion>>; export declare const createTestClient: (chain: Chain) => BundlerClient<import("viem").CustomTransport>;