Everything you need to build on Solana, pre-configured and ready to go.
Kronos Create is in active development! 🚀
The CLI tool is functional and ready for basic project scaffolding, but many of the advanced features described below are planned for future releases. Here's what's available now vs. what's coming:
- Basic project scaffolding
- TypeScript support
- Simple CLI interface
- Project name configuration
- Multiple template options (DeFi, NFT, Gaming, etc.)
- Interactive template selection
- Wallet adapter pre-configuration
- Analytics integration
- Advanced CLI options
- Comprehensive testing setup
Want to contribute or follow progress? Check out our GitHub repository and join our Discord community!
Create a new Solana project in seconds:
npx kronos-create@latest my-solana-app
cd my-solana-app
npm run devOr with pnpm:
pnpm create kronos-create@latest my-solana-app
cd my-solana-app
pnpm dev- ⚡ Lightning Fast: Get started with Solana development in under 2 minutes
- 🏗️ Multiple Templates: Choose from various pre-built templates for different use cases
- 📱 Modern Stack: Built with Next.js 14, TypeScript, and the latest Solana tooling
- 🔧 Pre-configured: Wallet adapters, RPC connections, and development tools ready out of the box
- 🎨 Beautiful UI: Styled with Tailwind CSS and modern design patterns
- 🔐 Wallet Integration: Support for Phantom, Solflare, and other popular Solana wallets
- 📊 Analytics Ready: Optional analytics integration for production apps
- 🧪 Testing Setup: Comprehensive testing environment with Jest and Anchor testing framework
Coming Soon! The following templates are currently in development and will be available in upcoming releases.
- DEX Template: Decentralized exchange with swap functionality
- Staking Platform: Token staking and rewards distribution
- Lending Protocol: Lending and borrowing platform
- NFT Marketplace: Complete marketplace with minting and trading
- NFT Collection: Art collection with minting interface
- NFT Utility: NFT-gated applications and utilities
- Web3 Game: Basic game template with on-chain assets
- Tournament Platform: Gaming tournaments with token rewards
- DePIN Node: Decentralized physical infrastructure template
- Oracle Service: Price feed and data oracle implementation
- Minimal: Clean starting point with basic wallet connection
- Full-stack: Complete dApp with backend integration
- Node.js 18.0.0 or later
- npm, yarn, or pnpm
- Git (for cloning templates)
npx kronos-create@latestFollow the prompts to:
- Choose your project name
- Select a template
- Configure wallet adapters
- Set up analytics (optional)
- Choose your package manager
npx kronos-create@latest [project-name] [options]--template <template-name>: Skip template selection--typescript: Enable TypeScript (default)--javascript: Use JavaScript instead of TypeScript--tailwind: Include Tailwind CSS (default)--no-tailwind: Skip Tailwind CSS--analytics: Enable analytics tracking--no-analytics: Disable analytics tracking--package-manager <npm|yarn|pnpm>: Choose package manager--git: Initialize git repository (default)--no-git: Skip git initialization
# Create a DEX template with npm
npx kronos-create@latest my-dex --template dex --package-manager npm
# Create a minimal JavaScript project
npx kronos-create@latest simple-app --template minimal --javascript
# Create an NFT marketplace without analytics
npx kronos-create@latest nft-market --template nft-marketplace --no-analyticsmy-solana-app/
├── components/ # React components
│ ├── wallet/ # Wallet connection components
│ ├── ui/ # UI components
│ └── providers/ # Context providers
├── lib/ # Utility functions
│ ├── anchor/ # Anchor program utilities
│ ├── solana/ # Solana web3 helpers
│ └── constants/ # App constants
├── pages/ # Next.js pages
├── programs/ # Anchor/Native programs (if applicable)
├── public/ # Static assets
├── styles/ # Global styles
├── tests/ # Test files
├── anchor.toml # Anchor configuration
├── solana.config.js # Solana configuration
└── package.json
Configure supported wallets in lib/wallet-adapters.ts:
import { PhantomWalletAdapter } from '@solana/wallet-adapter-phantom';
import { SolflareWalletAdapter } from '@solana/wallet-adapter-solflare';
export const wallets = [
new PhantomWalletAdapter(),
new SolflareWalletAdapter(),
// Add more wallet adapters
];Set up your RPC endpoints in lib/constants/rpc.ts:
export const RPC_ENDPOINTS = {
mainnet: process.env.NEXT_PUBLIC_MAINNET_RPC || 'https://api.mainnet-beta.solana.com',
devnet: process.env.NEXT_PUBLIC_DEVNET_RPC || 'https://api.devnet.solana.com',
testnet: process.env.NEXT_PUBLIC_TESTNET_RPC || 'https://api.testnet.solana.com',
};Create a .env.local file:
# RPC Endpoints
NEXT_PUBLIC_MAINNET_RPC=your_mainnet_rpc
NEXT_PUBLIC_DEVNET_RPC=your_devnet_rpc
# Analytics (optional)
NEXT_PUBLIC_ANALYTICS_WRITE_KEY=your_analytics_key
# App Configuration
NEXT_PUBLIC_APP_NAME=My Solana App
NEXT_PUBLIC_NETWORK=devnetnpm run dev
# or
yarn dev
# or
pnpm devnpm run build
# or
yarn build
# or
pnpm buildnpm run test
# or
yarn test
# or
pnpm testnpm run deploy
# or
yarn deploy
# or
pnpm deployKronos Create includes a comprehensive testing setup:
- Unit Tests: Component and utility function tests with Jest
- Integration Tests: Full dApp functionality testing
- Anchor Tests: Smart contract testing with Anchor framework
- E2E Tests: End-to-end testing with Playwright
Run specific test suites:
# Unit tests
npm run test:unit
# Integration tests
npm run test:integration
# Anchor tests
npm run test:anchor
# E2E tests
npm run test:e2eWe welcome contributions! Please see our Contributing Guide for details.
- Clone the repository
- Install dependencies:
pnpm install - Build the CLI:
pnpm build - Link for local development:
pnpm link-cli
- Create template in
src/templates/ - Add template configuration to
src/constants/templates.ts - Update tests and documentation
- Submit a pull request
- Documentation: docs.kronos-labs.com
- Discord: Join our community
- GitHub Issues: Report bugs
- Twitter: @KronosLabs
MIT License - see the LICENSE file for details.
- Solana Foundation for the amazing blockchain infrastructure
- Anchor Framework for smart contract development
- Next.js for the React framework
- create-web3-app for inspiration
Built with ❤️ by the Kronos Labs team