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. - Wallet Connection & Connectors: Configuration of injected, WalletConnect, Coinbase Wallet, MetaMask, and Safe connectors with EIP-6963 multi-injected provider discovery. - Production Patterns: SSR/Next.js hydration with cookie storage, approve-then-execute DeFi flows, multicall batched reads, error parsing for contract reverts, and multi-chain transport configuration. - 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 pre-flight simulation. ## Quick Start Ask the agent to set up a wagmi v2 project with WagmiProvider, QueryClientProvider, a wallet connect button, and an ERC-20 balance read for a connected account.