Official templates for create-solana-dapp.
Browse all templates at https://templates.solana.com
Create a new Solana project using the interactive CLI:
# npm
npm create solana-dapp@latest
# pnpm
pnpm create solana-dapp@latest
# yarn
yarn create solana-dappOr specify a template directly:
npm create solana-dapp@latest -t gill-next-tailwind-basic- Gill - Modern templates using @solana/kit
 - Web3.js - Templates using @solana/web3.js (legacy)
 - Mobile - React Native templates for Solana Mobile
 - Community - Templates maintained by the community
 
See TEMPLATES.md for the complete list.
We welcome contributions!
Adding a new community template:
See the Community Template Contributor Guide for comprehensive instructions on contributing templates to the community/ directory.
Adding a new template:
- Create your template in the appropriate directory (gill/, web3js/, mobile/, or community/)
 - Add required metadata to package.json (see existing templates for examples)
 - Include displayName, usecase, and og-image.png
 - Run 
pnpm generateto update templates.json - Open a PR with your changes
 
Improving existing templates:
- Report issues or suggest improvements
 - Submit PRs for bug fixes or enhancements
 - Update documentation
 
See CONTRIBUTING.md for detailed guidelines.
pnpm install
pnpm generate    # Generate templates.json and TEMPLATES.md
pnpm lint        # Validate templates
pnpm format      # Format code