⚡ Get up and running fast with Solana dApps ⚡
Just run one simple command to generate a new project!
npx create-solana-dapp@latest
The following UI frameworks are supported within create-solana-dapp
:
- ReactJS
- NextJS
The following UI frameworks are planned and expected to be supported in the future:
- VueJS
- Svelte
- React Native
The following onchain programs (aka smart contract) frameworks are supported within create-solana-dapp
:
- Anchor
This projects operates as an NX monorepo that requires each of the child packages deployed to the NPM package registry:
- create-solana-dapp: The CLI tool that generates a new project.
- preset-anchor: A preset for create-solana-dapp that adds Anchor support.
- preset-common: Shared utilities for create-solana-dapp presets.
- preset-next: A preset for create-solana-dapp that adds Next.js support.
- preset-react: A preset for create-solana-dapp that adds React support.
- solana-dev: A CLI tool that with utilities for developing Solana dApps.
Contributions are welcome! Please see CONTRIBUTING.md for more info.
[!TIP] This project uses pnpm as the package manager. If you don't have it, you can install it using
corepack
:corepack enable corepack prepare pnpm@9 --activate
To install the project locally, run the following commands:
git clone https://github.com/solana-developers/create-solana-dapp.git
cd create-solana-dapp
pnpm install
pnpm run build
The create-solana-dapp
CLI uses a local registry to publish packages to.
Detailed instructions on the local development workflow are outlined in the
[Development Workflow](./CONTRIBUTING.md#development-workflow) section of the CONTRIBUTING guidelines.