Build, deploy, and iterate quickly on decentralized applications using Celo.
Celo Composer allows you to quickly build, deploy, and iterate on decentralized applications using Celo. It provides a variety of frameworks, templates, deployment tools, UI components, and Celo-specific functionality to accelerate your dApp development.
This is an ideal lightweight starter-kit for hackathons and rapid prototyping on Celo.
Celo Composer is built on the Celo ecosystem and supports multiple frameworks and libraries:
Ensure you have the following installed:
- Node.js (v20 or higher)
- Git (v2.38 or higher)
The easiest way to start is by using the @celo/celo-composer
CLI tool. It helps bootstrap dApps with different templates.
npx @celo/celo-composer@latest create
- Enter a project name
- Choose whether to use Hardhat (Yes/No)
- Select a template (Minipay, Valora, etc.)
- Provide project owner details
- Wait for project creation to complete
- Follow the on-screen instructions to start your project
Once the project is set up, install dependencies:
yarn
# or
npm install
For detailed instructions, refer to packages/hardhat/README.md
.
Quick steps:
- Rename
packages/hardhat/.env.template
topackages/hardhat/.env
and add yourPRIVATE_KEY
. - Ensure your wallet has test funds from the Celo Faucet.
- Deploy the contract:
npx hardhat ignition deploy ./ignition/modules/Lock.ts --network alfajores
Before starting your project, follow these steps:
- Rename
.env.template
to.env
inpackages/react-app/
. - Add your WalletConnect Project ID from WalletConnect Cloud.
Start the local server:
yarn dev
# or
npm run dev
To keep Celo Composer lightweight, UI components are not pre-installed. You can easily add components using ShadCN. Refer to the UI Components Guide for details.
Deploying with Vercel is quick and easy. Follow our Deployment Guide for step-by-step instructions.
- Supports web and PWA applications
- Compatible with major crypto wallets
📖 Next.js Docs
- Powerful tool for smart contract development
- Works with various Ethereum dev tools
📖 Hardhat Docs
- Pre-configured for building a mini-payment dApp on Celo
📖 Minipay Docs
- Designed for easy Valora wallet integration
📖 Valora Docs
Join the Celo community on Discord:
📌 Celo Discord
💬 Repo Support Channel
See the open issues for upcoming features and bug tracking.
We welcome community contributions!
Please refer to our contribution guidelines to get started.
Distributed under the MIT License. See LICENSE.txt
for details.
- Twitter: @CeloDevs
- Discord: Celo Developer Community