wagmi Overview wagmi provides React hooks for Ethereum — wallet connection, contract reads/writes, transaction signing, and chain switching. Built on viem (TypeScript Ethereum library). The standard for building React dApp frontends. Instructions Step 1: Setup Step 2: Provider Setup Step 3: Connect Wallet Step 4: Read and Write Contracts Guidelines - wagmi v2 uses TanStack Query under the hood — same caching and refetching patterns. - Use RainbowKit for a polished wallet connection UI with minimal code. - Always handle chain switching — users might be on the wrong network. - viem is wagmi's l…