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

12 lines 384 B
import { z } from "zod"; export const isSigner = (signer) => { return (signer != null && typeof signer === "object" && "signerType" in signer && "signMessage" in signer && "signTypedData" in signer && "getAddress" in signer && "inner" in signer); }; export const SignerSchema = z.custom(isSigner); //# sourceMappingURL=schema.js.map