Create a full-stack dApp in ~4 mins.
From your command line, run:
npx create-web3-dapp@latest
For more details and instructions, check out the docs.
- Documentation: Everything you need to know when using CW3D
- Website: Learn more about CW3D and add components to your project
- Templates: Check out the pre-built project templates
- Component code: Add features directly to your project through components
- Community: Meet other builders, get support, and give feedback!
You’ll need to have Node 14.0.0 or later version on your local development machine (but it’s not required on the server). We recommend using the latest LTS version. You can use nvm (macOS/Linux) or nvm-windows to switch Node versions between different projects.
create-web3-dapp is an npx package that allows developers to create any web3 application in ~4 minutes.
The create-web3-dapp package is a NextJS-based framework, compatible with Ethereum, Polygon, Optimism, and Arbitrum, that helps web3 developers build production-ready decentralized applications at lightning speed, using pre-made React components, webhooks, and APIs.
If you've previously installed create-web3-dapp
globally via npx create-web3-dapp
, the CLI builder will notify you if a new version has been released. In any case, we always suggest you to run using the latest available version by running npx create-web3-dapp@latest
.
(npx comes with npm 5.2+ and higher, see instructions for older npm versions)
-
One Dependency: There is only one build dependency. It uses webpack, Babel, ESLint, and other amazing projects, but provides a cohesive curated experience on top of them.
-
No Configuration Required: You don't need to configure anything. A reasonably good configuration of both development and production builds is handled for you so you can focus on writing code.
-
No Lock-In: You can “eject” to a custom setup at any time. Run a single command, and all the configuration and build dependencies will be moved directly into your project, so you can pick up right where you left off.
Your environment will have everything you need to build a dapp:
- NextJS, React, Alchemy Enhanced APIs, Alchemy SDK, Rainbowkit, Wagmi
- Hassle-free updates for the above tools with a single dependency.
Create Web3 Dapp is a great fit for:
- Learning Web3 in a comfortable and feature-rich development environment.
- Starting new Web3 Applications
- Creating examples and experiment with React for your libraries and components.
Here are a few common cases where you might want to try something else:
-
If you want to try React without hundreds of transitive build tool dependencies, consider using a single HTML file or an online sandbox instead.
-
If you need to integrate React code with a server-side template framework like Rails, Django or Symfony, or if you’re not building a single-page app, consider using nwb, or Neutrino which are more flexible. For Rails specifically, you can use Rails Webpacker. For Symfony, try Symfony's webpack Encore.
-
If you need to publish a React component, nwb can also do this, as well as Neutrino's react-components preset.
-
If you want to do server rendering with React and Node.js, check out Next.js or Razzle. Create React App is agnostic of the backend, and only produces static HTML/JS/CSS bundles.
-
If your website is mostly static (for example, a portfolio or a blog), consider using Gatsby or Next.js. Unlike Create React App, Gatsby pre-renders the website into HTML at build time. Next.js supports both server rendering and pre-rendering.
-
Finally, if you need more customization, check out Neutrino and its React preset.
All of the above tools can work with little to no configuration.
If you prefer configuring the build yourself, follow this guide.
We'd love to have your helping hand on create-web3-dapp
! See contributing.md for more information on what we're looking for and how to get started.
Create Web3 DApp is a community maintained project and all contributors are volunteers. If you'd like to support the future development of Create React App then please consider donating to our Open Collective.
This project exists thanks to all the people who contribute.
We are grateful to the authors of existing related projects for their ideas and collaboration:
Create React App is open source software licensed as GNU-AGPL.