What problem does it solve? AI agents trained on pre-2024 data generate outdated wagmi v1 code with removed APIs like WagmiConfig, useContractRead, and usePrepareContractWrite, causing broken builds and runtime errors in Ethereum dApp frontends. ## Core Features & Use Cases - wagmi v2 Hook Patterns: Correct usage of useAccount, useConnect, useReadContract, useWriteContract, useSimulateContract, useWaitForTransactionReceipt, useSwitchChain, and ENS hooks with TanStack Query integration. - Production Patterns: Approve-then-execute flows, multicall batched reads, SSR/Next.js hydration with cookie storage, EIP-6963 multi-wallet discovery, and revert reason parsing. - Reference Material: Connector comparison, error code tables, hook reference, troubleshooting guide, a starter app template, and four complete example projects (connect wallet, read contract, write transaction, multi-chain config). - Use Case: Build a Next.js dApp that connects MetaMask and WalletConnect, reads USDC balances across Ethereum, Arbitrum, and Base, and executes an ERC-20 approve-then-deposit flow with proper error handling. ## Quick Start Ask the agent to scaffold a wagmi v2 app with WagmiProvider, QueryClientProvider, wallet connection, and a contract read for a given token address.