Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
A quick start boilerplate for developing web3 apps and deploying smart contracts.
create-web3 is a CLI boilerplate package that scaffolds a monorepo containing a React frontend and an Ethereum development environment for writing, testing, and deploying smart contracts.
create-web3 is an npm package that generates a full-stack web3 project structure when you run npx create-web3. It produces a monorepo with two environments: a React frontend (Next.js or Vite) and an Ethereum development environment (Hardhat or Foundry). The scaffold includes an example contract deployment, wallet connection via RainbowKit, and Web3 hooks via WAGMI. It is maintained by e-roy on GitHub, with documentation at create-web3.xyz.
npx create-web3 creates a monorepo with both a React app and an Ethereum toolchain ready to use.yarn chain / npm run chain starts a local Hardhat node, yarn deploy / npm run deploy deploys the example contract locally, and yarn dev / npm run dev starts the Next.js dev server.Web3 developers who want to skip environment setup and go straight to writing dapp code. Smart contract engineers who need a frontend to interact with their contracts. Developers who want to compare Next.js vs Vite, Tailwind vs Chakra, or Hardhat vs Foundry in a working project with JavaScript or TypeScript.
After running npx create-web3, install dependencies with yarn or npm install. In one terminal, run yarn chain or npm run chain to start the local Hardhat blockchain. In another terminal, run yarn deploy or npm run deploy to deploy the example contract, then yarn dev or npm run dev to launch the Next development environment.
Run npx create-web3, then install dependencies with yarn or npm install. Use yarn chain or npm run chain to start a local Hardhat node, yarn deploy or npm run deploy to deploy the example contract, and yarn dev or npm run dev to launch the frontend dev server.
The frontend can be Next.js or Vite, and the Ethereum environment can be Hardhat or Foundry. You also choose between no CSS framework, Tailwind CSS, or Chakra UI, and between plain JavaScript and TypeScript.
No. The yarn chain or npm run chain command starts a local Hardhat blockchain for development. The yarn deploy script deploys the example contract to that local network.
Full documentation is at create-web3.xyz. For questions, feature suggestions, or project showcases, join the GitHub discussions; for bugs, use the GitHub issues page.
The GitHub repository metadata shows 90 stars (as of the source snapshot), indicating community use.
