A modern UI boilerplate for Solana decentralized applications (dApps) built with React, TypeScript, TailwindCSS, and @solana/wallet-adapter.
This template provides wallet integration (Phantom, Solflare, etc.), developer tooling, and a production-ready setup for building scalable Web3 frontends on Solana.
- create-react-app (v5.0.0)
- TypeScript (v^4.6.3)
- @solana/wallet-adapter for Solana wallet integration
- TailwindCSS for modern styling
- ESLint (
eslint-config-google
) for linting husky
,lint-staged
, and@commitlint
for Git hooks & commit quality- Storybook for UI component development
- @solana/wallet-adapter
- @solana/wallet-adapter-example
- The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom
Clone the repository and install dependencies:
yarn install
Run the project in development mode:
yarn start
Build for production:
yarn build
-
Fix suppressed type errors currently handled with @ts-expect-error.
-
Address state persistence across refreshes.
-
Update React entrypoint to use
createRoot
for React 18 compatibility.- Related warning:
Warning: ReactDOM.render is no longer supported in React 18
.
- Related warning:
This repository serves as a starter kit for Solana developers who want to:
-
Quickly bootstrap a React + TypeScript Solana dApp
-
Integrate Phantom, Solflare, and other wallets with ease
-
Follow best practices in linting, commits, and component-driven development
MIT β free to use, modify, and share.