Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@celo/celo-composer
Advanced tools
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 number of frameworks, templates, deployment and component support, and Celo specific functionality to help you get started with your next dApp.
It is the perfect lightweight starter-kit for any hackathon and for quickly testing out integrations and deployments on Celo.
Celo Composer is built on Celo to make it simple to build dApps using a variety of front-end frameworks, and libraries.
The easiest way to start with Celo Composer is using @celo/celo-composer
. This CLI tool lets you quickly start building dApps on Celo, including several templates. To get started, just run the following command, and follow the steps:
npx @celo/celo-composer@latest create
What is your project name:
Do you want to use Hardhat? (Y/n)
Yes
or No
.Do you want to use a template?
- Minipay
- Valora
Project Owner name:
Step 7: Wait for Project Creation: The CLI will now create the project based on your inputs. This may take a few minutes.
Step 8: Follow the instructions to start the project. The same will be displayed on the console after the project is created.
🚀 Your starter project has been successfully created!
Once your custom dApp has been created, just install dependencies, either with yarn:
yarn
If you prefer npm, you can run:
npm install
Find the detailed instructions on how to run your smart contract in packages/hardhat/README.md.
For quick development follow these three steps:
packages/hardhat/env.template
to packages/hardhat/env
and add your PRIVATE_KEY
into the .env
file.packages/hardhat
folder to deploy your smart contract to the Celo Testnet Alfajores:npx hardhat ignition deploy ./ignition/modules/Lock.ts --network alfajores
Find the detailed instructions on how to run your frontend in the react-dapp
README.md.
Before you start the project, please follow these steps:
Rename the file: packages/react-app/.env.template to packages/react-app/.env
Open the newly renamed .env file and add your WalletConnect Cloud Project ID from WalletConnect Cloud
Once you've done that, you're all set to start your project!
Run the following commands from the packages/react-app
folder to start the project:
yarn dev
If you prefer npm, you can run:
npm run dev
Thank you for using Celo Composer! If you have any questions or need further assistance, please refer to the README or reach out to our team.
🔥Voila, you have a dApp ready to go. Start building your dApp on Celo.
To keep the Celo Composer as lightwieght as possible we didn't add any components but rather a guide on how to add the components you need yourself with a very simple to use components library. To learn how to add UI components using ShadCN in this project, refer to the UI Components Guide.
The Celo Composer is a great tool for hackathons and fast deployments. We created a guide for you, using the Vercel CLI to create a live deployment in minutes. For detailed instructions on deploying the Next.js app using Vercel CLI, refer to the Deployment Guide.
Check nextjs docs to learn more about it.
Check hardhat docs to learn more about it.
Checkout minipay docs to learn more about it.
Checkout valora docs to learn more about it.
Join the Celo Discord server at https://chat.celo.org. Reach out on the dedicated repo channel here.
See the open issues for a full list of proposed features (and known issues).
We welcome contributions from the community.
Distributed under the MIT License. See LICENSE.txt
for more information.
FAQs
Get started building dApps on Celo
The npm package @celo/celo-composer receives a total of 21 weekly downloads. As such, @celo/celo-composer popularity was classified as not popular.
We found that @celo/celo-composer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.