Skip to content

solana-foundation/templates

Repository files navigation

Solana Templates

Official templates for the create-solana-dapp CLI.

Usage

Run the create-solana-dapp command and use the interactive prompts to create a new project.

Provide the -t <template-name> option to use a specific template, use --help to see all the options.

# npm
npm create solana-dapp@latest [-t <template-name>]

# pnpm
pnpm create solana-dapp@latest [-t <template-name>]

# yarn
yarn create solana-dapp [-t <template-name>]

Gill

Gill Templates (based on @solana/kit)

gh:solana-foundation/templates/gill/gill-next-tailwind

Next.js, Tailwind, gill (based on @solana/kit), Wallet UI

gill nextjs react solana-kit tailwind typescript wallet-ui

gh:solana-foundation/templates/gill/gill-next-tailwind-basic

Next.js, Tailwind, basic Anchor example, gill (based on @solana/kit), Wallet UI

anchor-basic gill nextjs react solana-kit tailwind typescript wallet-ui

gh:solana-foundation/templates/gill/gill-next-tailwind-counter

Next.js, Tailwind, Anchor Counter example, gill (based on @solana/kit), Wallet UI

anchor-counter gill nextjs react solana-kit tailwind typescript wallet-ui

gh:solana-foundation/templates/gill/gill-node-express

Node.js Express API with gill (based on @solana/kit)

express gill node solana-kit

gh:solana-foundation/templates/gill/gill-node-script

Node.js script with gill (based on @solana/kit)

gill node solana-kit

gh:solana-foundation/templates/gill/gill-react-vite-tailwind

React+Vite, Tailwind, gill (based on @solana/kit), Wallet UI

gill react solana-kit tailwind typescript vite wallet-ui

gh:solana-foundation/templates/gill/gill-react-vite-tailwind-basic

React+Vite, Tailwind, gill (based on @solana/kit), basic Anchor example, Wallet UI

anchor-basic gill react solana-kit tailwind typescript vite wallet-ui

gh:solana-foundation/templates/gill/gill-react-vite-tailwind-counter

React+Vite, Tailwind, gill (based on @solana/kit), Anchor Counter example, Wallet UI

anchor-counter gill react solana-kit tailwind typescript vite wallet-ui

Solana Mobile

Solana Mobile Templates

gh:solana-foundation/templates/mobile/web3js-expo

A template for building a Solana mobile app with Expo and React Native.

expo mobile-wallet-adapter react-native solana-web3js

gh:solana-foundation/templates/mobile/web3js-expo-paper

A template for building a Solana mobile app with Expo and React Native Paper.

expo mobile-wallet-adapter react-native react-native-paper solana-web3js

Web3.js Templates

Templates using @solana/web3.js (legacy)

gh:solana-foundation/templates/web3js/web3js-next-tailwind

Next.js, Tailwind, @solana/web3.js, Wallet Adapter

nextjs react solana-web3js tailwind typescript wallet-adapter

gh:solana-foundation/templates/web3js/web3js-next-tailwind-basic

Next.js, Tailwind, @solana/web3.js, Wallet Adapter, basic Anchor program

anchor-basic nextjs react solana-web3js tailwind typescript wallet-adapter

gh:solana-foundation/templates/web3js/web3js-next-tailwind-counter

Next.js, Tailwind, @solana/web3.js, Wallet Adapter, Anchor Counter program

anchor-counter nextjs react solana-web3js tailwind typescript wallet-adapter

gh:solana-foundation/templates/web3js/web3js-react-vite-tailwind

React + Vite, Tailwind, @solana/web3.js, Wallet Adapter

react solana-web3js tailwind typescript vite wallet-adapter

gh:solana-foundation/templates/web3js/web3js-react-vite-tailwind-basic

React + Vite, Tailwind, @solana/web3.js, Wallet Adapter, basic Anchor program

anchor-basic react solana-web3js tailwind typescript vite wallet-adapter

gh:solana-foundation/templates/web3js/web3js-react-vite-tailwind-counter

React + Vite, Tailwind, @solana/web3.js, Wallet Adapter, Anchor Counter program

anchor-counter web3js react solana-web3js tailwind typescript vite wallet-adapter

Community Templates

Templates maintained by the Solana community

gh:solana-foundation/templates/community/gill-jito-airdrop

A modern, script-driven Solana airdrop template that distributes SOL to many recipients efficiently using a Merkle tree

nextjs react tailwind typescript wallet-ui

Contributors

Published under the MIT license. Made by community πŸ’›

About

Official templates for create-solana-dapp πŸš€ CLI πŸ‘‰ https://github.com/solana-foundation/create-solana-dapp

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 8