Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Minimal TypeScript / NextJS dApp template bootstrapped with wagmi Ethereum react hooks library.
NextJS wagmi is a minimal TypeScript/Next.js boilerplate that wires up the wagmi React hooks for Ethereum, giving you a dApp frontend with a wallet connection out of the box.
This template is maintained as a public GitHub repository and has a live demo deployed on Vercel at nextjs-wagmi.vercel.app.
This template combines Next.js, TypeScript, Tailwind CSS, and the wagmi library for Ethereum development. As input, it takes a standard create-next-app project and adds a wagmi client configuration, a sample wallet-connect component, and an Infura API key environment variable. As output, it produces a ready-to-run dApp scaffold that can read chain data through wagmi's React hooks. The repository is authored by Seth-McKilla on GitHub and currently has 101 stars.
create-next-app, with the standard project structure and dev server.NEXT_PUBLIC_INFURA_API_KEY environment variable for its Ethereum provider; the README includes a .env.local.example file.npx create-next-app -e https://github.com/Seth-McKilla/nextjs-wagmi creates a new project and installs dependencies automatically.npx create-next-app@latest -e https://github.com/Seth-McKilla/nextjs-wagmi — the command also installs dependencies..env.local.example to .env.local and paste your Infura API key.npm run dev or yarn dev and open http://localhost:3000.Yes, it is an open-source starter template available on GitHub. You can clone, modify, and deploy it for personal or commercial projects without paying a license fee.
You need Node.js, npm or yarn, and an Infura API key. Infura offers a free tier, so you can get started at no cost.
Yes, the README includes a Vercel deploy button that handles the environment variables and hosting for you. You can also deploy it anywhere Next.js runs.
It focuses on wiring up wagmi hooks and a wallet connection; it doesn't include a specific smart contract example, but the hooks are ready to call contracts once you add your own ABI and address.
