Get up and running quickly with wagmi by using the
create-wagmi CLI. This tool interactively scaffolds a new wagmi project for you so you can start building instantly without the hassle of setting up
git, installing packages, worrying about TypeScript configuration, etc.
To get started,
create-wagmi can be instantiated with one of your favorite package managers:
npm init wagmi
create-wagmi scaffolds a basic Next.js application with wagmi. However, you can specify a custom template by passing the
npm init wagmi -- --template next-connectkit
create-wagmi currently comes with the following templates:
next(default): A Next.js wagmi project.
next-connectkit: A Next.js wagmi project with ConnectKit included.
next-rainbowkit: A Next.js wagmi project with RainbowKit included.
next-web3modal: A Next.js wagmi project with Web3Modal included.
vite-react: A Vite (React) wagmi project.
vite-react-connectkit: A Vite (React) wagmi project with ConnectKit included.
vite-react-rainbowkit: A Vite (React) wagmi project with RainbowKit included.
vite-react-web3modal: A Vite (React) wagmi project with Web3Modal included.
Specify a custom template to bootstrap the app with.
Use npm as the package manager for the app.
Use pnpm as the package manager for the app.
Use yarn as the package manager for the app.
Skips initializing the project as a git repository