@zerodev/sdk
Version:
A utility library for working with ERC-4337
18 lines (16 loc) • 344 B
text/typescript
import type {
Account,
Chain,
EIP1193Provider,
LocalAccount,
OneOf,
Transport,
WalletClient
} from "viem"
import type { SmartAccount } from "viem/account-abstraction"
export type Signer = OneOf<
| EIP1193Provider
| WalletClient<Transport, Chain | undefined, Account>
| LocalAccount
| SmartAccount
>