All articles
solanatemplatescreate-solana-dappkitanchormobilex402devtools

Solana Developer Templates: official create-solana-dapp gallery

Review of solana.com/developers/templates — Kit vs web3.js vs mobile vs community scaffolds, CLI usage, and when to pick which starter.

devrels.xyz/a/247short link

Solana Developer Templates: official create-solana-dapp gallery. The public shelf lives at solana.com/developers/templates; the git source is solana-foundation/templates. This is a builder review of what is on the shelf, how the CLI pulls it, and which stack to start from in 2026.

What the page is

Not a second docs site. It is a filterable catalog of production-oriented starters — dApps, mobile, payments, airdrop, auth — that the create-solana-dapp CLI materializes into a local repo. Filters on the site (Starter, Backend, Mobile, Payments, Airdrop, Auth, SDKs, wallet adapters) map to metadata on each template package.

Install path

bash
# interactive
npm create solana-dapp@latest
# or pnpm / bun / yarn create solana-dapp

# pin a template from the monorepo
npm create solana-dapp@latest -t gh:solana-foundation/templates/kit/nextjs
npm create solana-dapp@latest -t gh:solana-foundation/templates/kit/nextjs-anchor
npm create solana-dapp@latest -t gh:solana-foundation/templates/mobile/kit-expo-minimal

# any giget-compatible external template
npm create solana-dapp@latest -t <org>/<repo>

Template authors can ship a create-solana-dapp block in package.json (post-install instructions, package-manager pin, rename maps, optional Solana skill install). That is why some scaffolds print Anchor build/test commands immediately after generate.

Monorepo layout

solana-foundation/templates top-level buckets
PathStack biasUse when
kit/@solana/kit, modern client, often Tailwind + Next or ViteDefault for new web apps and server signing samples
web3js/@solana/web3.js + classic wallet-adapterLegacy tutorials, existing adapter-era codebases
mobile/Expo / React Native + Mobile Wallet Adapter (or Privy)Solana Mobile / RN product shells
community/Partner and community-maintained startersx402, Phantom embedded, commerce, specialized protocols

Kit templates (prefer for greenfield)

Notable kit/* starters
TemplateWhat you get
kit/nextjsNext.js + Tailwind + Kit wallet / on-chain actions
kit/nextjs-anchorSame + Anchor vault program
kit/react-vite / react-vite-anchorVite SPA + @solana/react-hooks (± Anchor vault)
kit/nextjs-das-nftsMetaplex DAS / cNFT viewer via custom RPC plugin
kit/nextjs-hardware-signinLedger-style auth via memo tx verify (no message signing)
kit/nextjs-keychain / axum-keychainServer-side signing with pluggable backends (memory, KMS, MPC, custodial) — Axum variant adds Rust API
kit/nextjs-subscriptionsSolana subscriptions / recurring payment program wiring
kit/pinocchio-counterNative Pinocchio counter program (no full dApp shell)

Mobile

Mobile templates split Kit vs web3.js and minimal vs fuller UI (Uniwind / Paper). Privy appears as mobile/kit-expo-privy when you want embedded auth instead of only MWA. Start from kit-expo-minimal unless you already depend on web3.js patterns.

Web3.js (legacy shelf)

The web3js/* Next and Vite templates still matter for courses and wallet-adapter copy-paste, but new product work should not default here. Migrate toward Kit when you touch wallet UX or transaction building in earnest — see Solana Kit and Kit vs web3.js vs gill.

Community templates worth knowing

community/* highlights
TemplateDomain
x402-template, x402-solana-rust, kit-node-solanax402, pay-gate-inferenceHTTP 402 / agent payments
phantom-embedded-* (js / react / rn)Phantom embedded wallet OAuth paths
commerce-kit-storeHeadless commerce + Solana Pay-oriented store
supabase-authWallet auth against Supabase
merkle-airdrop, zk-compression-airdropAirdrop distribution patterns
moneygram-onramp, eve-pay, drift-hello-worldPartner rails / protocol hellos
lazorkit-starter-*Lazor Kit starters (Expo / Next / Vite)

Chooser

Which template first
GoalStart here
Marketing site + wallet + one ixkit/nextjs
Full-stack with on-chain programkit/nextjs-anchor or react-vite-anchor
NFT gallery / DASkit/nextjs-das-nfts
Backend signing / KMS shapekit/nextjs-keychain or axum-keychain
Mobilemobile/kit-expo-minimal → Privy variant if needed
Agent-paid APICommunity x402 templates; cross-read x402 / seller guide
Following an old tutorialweb3js/* only until you can port

Review notes (opinionated)

  • Strength: one CLI, one monorepo, clear Kit-first direction, community path for partners without polluting core.
  • Strength: specialized starters (keychain, hardware sign-in, subscriptions, DAS) beat yet another empty “counter + wallet”.
  • Watch: gallery filter labels ≠ directory names — always copy the gh:solana-foundation/templates/… path from the card or TEMPLATES.md.
  • Watch: web3.js shelf still visible; do not assume “official” means “current default stack”.
  • Contribute: community templates need metadata + og-image.png + pnpm generate per the repo guide — good DevRel exercise for protocol teams.

People and links

Resources

Keep reading

Get new articles in your inbox

Technical deep-dives on Solana tooling, infrastructure, and ecosystem. No noise.

Solana Developer Templates: official create-solana-dapp gallery | devrels.xyz