This tutorial walks you through upgrading a MetaMask externally owned account (EOA) to a MetaMask smart account via EIP-7702, and sending an atomic batch transaction via EIP-5792. You will use a provided template, which sets up MetaMask SDK with a Next.js and Wagmi dapp.
This is a companion discussion topic for the original entry at https://docs.metamask.io/tutorials/upgrade-eoa-to-smart-account