create-solana-dapp is a CLI scaffold for new Solana projects, similar in spirit to create-react-app or create-next-app. Run one command, get a working dapp in 60 seconds.
What it generates
- A monorepo with frontend (Next.js or React) and Anchor program
- Wallet Adapter pre-wired
- Tailwind, TypeScript, ESLint, basic component library
- An Anchor program with a hello-world counter
- Tests against a local validator
Available templates
- next — Next.js App Router + Anchor
- react — Vite + React + Anchor
- react-native — React Native + Mobile Wallet Adapter
- basic — minimal, no UI framework
Quickstart
npx create-solana-dapp@latest
# answer the prompts:
# - project name
# - which template (next, react, react-native, basic)
# - which package manager (npm, yarn, pnpm)
cd your-project-name
pnpm dev
What it doesn't do
- It doesn't build your business logic. It's a starting point, not a finished product.
- It doesn't deploy your program — you still run
anchor deploymanually. - The included UI components are intentionally minimal. Most teams replace the design system with shadcn/ui or their own.