Wagmi is a collection of React hooks for Ethereum Virtual Machine (EVM) compatible networks that makes it easy to work with wallets, contracts, transactions, and signing. Base Account integrates perfectly with Wagmi, allowing you to use all your familiar hooks.
If you start a new wagmi project, you can skip the installation step.If you already have a project, you can install the dependencies with your package manager of choice:
Copy
Ask AI
npm install wagmi viem @base-org/account
To create a new wagmi project, you can use the command line npm create wagmi@latest.