
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
create-solana-dapp
Advanced tools
The fastest way to create Solana apps :rocket:
Run one command to generate a new project:
# npm
npm create solana-dapp@latest
# pnpm
pnpm create solana-dapp@latest
# bun
bun create solana-dapp@latest
# yarn (only supports the 'latest' tag)
yarn create solana-dapp
This is a CLI that automates the initialization of predefined Solana templates (see below).
The official create-solana-dapp templates can be found in
this repository.
You can also use create-solana-dapp to create projects using external templates:
The --template (or -t) flag supports anything that giget supports
# npm
npm create solana-dapp@latest -t <github-org>/<github-repo>
# pnpm
pnpm create solana-dapp@latest -t <github-org>/<github-repo>
# yarn
yarn create solana-dapp -t <github-org>/<github-repo>
Template authors can add an init script to the package.json file to help set up the project.
Use this script to return instructions to the user, check the anchor and solana versions, and replace text and files
in the project.
{
"name": "your-template",
"create-solana-dapp": {
// These instructions will be returned to the user after installation
"instructions": [
"Run Anchor commands:",
// Adding a '+' will make the line bold and '{pm}' is replaced with the package manager
"+{pm} run anchor build | test | localnet | deploy",
],
// Rename is a map of terms to rename
"rename": {
// Rename every instance of counter
"counter": {
// With the name of the project
"to": "{{name}}",
// In the following paths
"paths": ["anchor", "src"],
},
},
// Check versions and give a warning if it's not installed or the version is lower
"versions": {
"adb": "33.0.0",
"anchor": "0.30.1",
"solana": "1.18.0",
},
},
}
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@10 --activate
To install the project locally, run the following commands:
git clone https://github.com/solana-foundation/create-solana-dapp.git
cd create-solana-dapp
pnpm install
pnpm build
Detailed instructions on the local development workflow are outlined in the Development Workflow section of the CONTRIBUTING guidelines.
FAQs
The fastest way to create Solana apps
The npm package create-solana-dapp receives a total of 7,799 weekly downloads. As such, create-solana-dapp popularity was classified as popular.
We found that create-solana-dapp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.