Official templates for the Solana Mobile CLI, built on create-solana-dapp.
Browse the public template gallery at https://solana.com/developers/templates.
Create a new Solana Mobile project using the interactive CLI:
# bun
bun x solana-mobile@latest create
# npm
npx solana-mobile@latest create
# pnpm
pnpm dlx solana-mobile@latest createOr specify a template directly:
npx solana-mobile@latest create -t expo-kit-uniwindRun npx solana-mobile@latest create --list-templates to see every available template.
- Mobile - Templates for Solana Mobile
See TEMPLATES.md for the complete list.
We welcome contributions!
Improving existing templates:
- Report issues or suggest improvements
- Submit PRs for bug fixes or enhancements
- Update documentation
Adding a new template:
External contributors must create an issue before adding a new template. Describe the template you want to add and wait for a confirmation before sending a PR. This prevents you doing work that won't get merged into this repo.
See CONTRIBUTING.md for detailed guidelines.
pnpm install
pnpm generate # Generate templates.json and TEMPLATES.md
pnpm lint # Check templates and formatting
pnpm format # Format codeAI coding agents should start with AGENTS.md, which links to the focused docs under docs/agents/.