EOA wallets (Metamask, Phantom...)
Metamask with EIP1193
import {
providerToSmartAccountSigner
} from "@cometh/connect-core-sdk";
const signer = await providerToSmartAccountSigner(
window.ethereum
);Metamask with Viem integration
const signer = walletClientToSmartAccountSigner(walletClient);Last updated