Prerequisites
- Node.js >= 18.0.0
- PNPM (recommended) or npm/yarn
Quick Start
Create a new Celo project in seconds:Installation
No installation required! Usenpx to run Celo Composer directly without installing anything globally.
Usage
Interactive Mode
Run the command without any flags to enter interactive mode:- Project name and description
- Template selection
- Wallet provider choice
- Smart contract framework selection
- Dependency installation
Non-Interactive Mode
Create a project with specific configurations using flags:Quick Start with Defaults
Skip all prompts and use default settings. This will create a basic app with no additional setup:Available Templates
Basic Web App (default)
A standard Next.js 14+ web application with modern UI, perfect for most dApp projects.Farcaster Miniapp
A specialized template for building Farcaster Miniapps with Farcaster SDK and Frame development support.MiniPay App
Optimized for building dApps that integrate with the MiniPay mobile wallet, with mobile-first design.AI Chat App
A standalone Next.js AI chat application template.Wallet Providers
Choose a wallet provider to handle user authentication and transaction signing:- RainbowKit (default): Popular, easy-to-use wallet connector for React apps
- Thirdweb: Complete Web3 development framework with powerful wallet tools
- None: Skip wallet integration if you want to integrate your own solution
Smart Contract Frameworks
Set up a smart contract development environment:- Hardhat (default): Popular Ethereum development environment
- Foundry: Fast, portable and modular toolkit for Ethereum application development
- None: Skip smart contract development setup
Command Options
Generated Project Structure
Next Steps
After creating your project, navigate to it and install dependencies (if you didn’t use--skip-install):
Tech Stack
Generated Projects Include:- Next.js 14+ with App Router
- TypeScript
- Tailwind CSS
- shadcn/ui components
- Turborepo for monorepo management
- PNPM workspaces