Prerequisites
- Node (v20 or higher)
- Git (v2.38 or higher)
How to use Celo Composer
The easiest way to start with Celo Composer is using@celo/celo-composer
. This CLI tool lets you quickly start building dApps on Celo for multiple frameworks, including React (and rainbowkit). To get started, just run the following command, and follow the steps:
Provide the Project Name:
You will be prompted to enter the name of your projectChoose a smart contract development environment:
You will be asked if you want to use Hardhat. Select Yes or NoChoose to Use a Pre-Built Template, highlighting Celoâs unique features:
You will be asked if you want to use a template, check below for the options. Select Yes or NoSelect a Template:
If you chose to use a template, you will be prompted to select a template from the list providedProvide the Project Ownerâs Name:
You will be asked to enter the project ownerâs nameWait for Project Creation:
The CLI will now create the project based on your inputs. This may take a few minutes.Follow the instructions to start the project.
The same will be displayed on the console after the project is createdSupported Templates
MiniPay
- Pre-built template for creating a mini-payment application.
- Seamless integration with Celo blockchain for handling payments.
Valora
- Template designed for Valora wallet integration.
- Facilitates easy wallet connectivity and transaction management.