Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Nextjs web3 boilerplate built on Viem, Wagmi, Rainbowkit and Chakra UI for starting Ethereum dapp projects.
Next Web3 Boilerplate is a scaffolding template for building decentralized applications (dapps) on Ethereum using Next.js, Viem, Wagmi, RainbowKit, Chakra UI, and TypeScript.
Next Web3 Boilerplate is a free, open-source (MIT) starter kit that gives you a pre-wired Ethereum dapp shell. It takes a fresh Next.js 16 project and adds wallet connection, chain selection, and live on-chain data displays, producing a runnable web app. The repository is maintained by Pedrojok01 (Pierre E.) and a live demo is deployed at next-web3-boilerplate.com.
.env file.useEnsAddress.Clone the repository, install dependencies with npm, pnpm, yarn, or bun, and copy .env.example to .env with a WalletConnect v2 project ID. Then run bun dev (or your package manager's dev command), or build and run the Docker image with docker build -t next-web3-boilerplate -f Dockerfile . and docker run -p 3000:3000 next-web3-boilerplate. The app serves on http://localhost:3000.
Yes. The project is released under the MIT License, and the source is public on GitHub. You can use it for personal or commercial projects without paying a license fee.
It uses RainbowKit, so MetaMask, Rainbow, Coinbase Wallet, and any wallet compatible with WalletConnect v2 are supported. A WalletConnect project ID is required in the .env file for WalletConnect connections.
The repository requires Node.js version 20.9.0 or higher; it was developed on Node.js LTS v23. TypeScript 5.9.3 is used, and you can install dependencies with npm, pnpm, yarn, or bun.
The template includes a chain selector with current EVM testnets Amoy and Sepolia; the deprecated Mumbai and Goerli chains were replaced in the 2026-02 update. You can add or remove chains in the Wagmi configuration.
Yes. A multi-stage Dockerfile builds a standalone image of approximately 320 MB, and the Dockerfile has been updated to use a Node 23 LTS base image.
