You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Celo is the home of real-world mini apps – small web apps that run inside wallets. They’re fast to build, easy to share, and powerful because they meet users where they already are.
On Celo, mini apps can run both in Farcaster, a growing onchain social network, and in MiniPay, a lightweight wallet built into the Opera Mini browser that millions of people use across Africa and beyond.
Why Celo
Real-world Reach: Bring your app to over 11m+ active users on MiniPay through its native integration with Opera Mini.
Cheap, fast gas: Transactions cost less than a cent, settle quickly, and can be paid in stablecoins like cUSD.
Easy upgrade path: Farcaster mini apps can run in MiniPay with minimal code changes. That means one mini app build can serve two growing ecosystems.
Full builder support: Builders earn rewards, grants, and funding at every stage:
Proof of Ship – monthly rewards for early stage mini app builders.
Proof of Impact – automatic rewards based on gas usage.
Mini App Mondays – weekly incentive campaigns for mini apps on Farcaster.
Prezenti Growth Grants – grant funding for apps with traction.
Celo Builder Fund – venture support for breakout apps.
And more! See the full list of builder programs here.
I want you to create an app using the celo composer farcaster miniapp template. Double check that you are using the farcaster template.
Follow the instructions in the terminal to create the Farcaster manifest file with the app name, description, etc.
3. Creating the Front End
Write a PRD using Claude of what your app does and how it functions
I want you to create a simple tipping app using the celo composer farcaster miniapp template. Edit the UI so that there is an input box for the user to enter a wallet address, a counter box with arrows that increments by 1 to indicate how much cUSD to tip, and a tip button that processes the payments. Use wagmi send transaction hook and ensure you are sending cUSD on Celo mainnet.
Double check that you are using the farcaster template. If you are not 100% sure about something, ask before proceeding.
(Optional) Add custom Celo branding UX by pasting in this prompt here
Use Celo’s brand palette and typography to build a bold, high-contrast, raw interface.
Emphasize big color blocks, sharp edges, and visible structure. Typography is a core visual element.
Use a limited, high-contrast palette centered on bold Celo brand colors: bright yellow #FCFF52, deep forest green #4E632A, and dark purple #1A0329, supported by light tan neutrals (#FBF6F1, #E6E3D5), brown #635949, black, and white. Reserve accents—pink #F2A9E7, orange #F29E5F, lime #B2EBA1, light blue #8AC0F9—for small punches of energy only. No soft pastels, no subtle gradients; if a gradient is used, it must be stark and hard-edged.
Typography must dominate visually. Use GT Alpina for headlines: oversized, thin-weight, tight letter-spacing, with italicized words for emphasis. Use Inter for body text and labels: clean, geometric, and heavy when needed (e.g., 750 weight for links or tags). Headlines should feel architectural and can stretch across the page. Body copy should read like industrial signage.
Layout is raw and structural. Favor big color blocks, sharp rectangles, and visible outlines. Break the grid with asymmetry and unexpected spacing. Alternate between vast negative space and dense, blocky sections. Components—buttons, inputs, cards—must be rectangular and unsoftened. Use bold color inversions on hover (e.g., black text on yellow flips to yellow text on black). Icons should be minimal, geometric, and functional.
Overall tone: unpolished, striking, unapologetic. The UI should feel engineered and intentional rather than decorative.
Think poster-like screens where color, type, and negative space themselves are the interface.
make sure there are no errors when running and install all needed dependencies
4. Adding Onchain Functionality
Option 1: Add Simple Onchain Interactions
Best for: Basic payment flows, token transfers, wallet connections, and reading blockchain data
When to use this:
You need to accept payments in cryptocurrency
Your app requires wallet authentication
You're building an MVP and want the fastest time to market
You don't need custom logic beyond standard token operations
Click on 'Code Snippets' in your contracts Thirdweb dashboard
Initialize the SDK and contract on your project
Call functions and events
Note: wagmi and Thirdweb are both wallet/transaction management systems. Stick to one system to avoid running into bugs. Easiest option is to treat Thirdweb as a "contract deployer + ABI provider" and use wagmi for all the interactive stuff.
Option 3: Write a custom smart contract
Best for: Unique business logic, complex interactions, and applications requiring full control
Celo Composer provides a monorepo architecture with:
/packages/hardhat or /packages/foundry - Your smart contract development environment
/packages/react-app - Your Next.js frontend
Pre-configured deployment scripts for Celo networks
Write your smart contract
Create .sol files in the contracts/ directory
Define your custom logic using Solidity
Inherit from OpenZeppelin contracts for standards (ERC-20, ERC-721, Ownable, etc.)
Implement your unique business rules, state management, and access controls
Test extensively
Write comprehensive unit tests in /test
Deploy to Celo or Celo Sepolia
Configure your deployment scripts
Add Celo or Celo Sepolia testnet tokens to your wallet
Update your .env variables with your wallet private keys
Deploy to Celo Sepolia testnet first for testing
Verify contracts automatically through Celo Composer scripts
Deploy to mainnet after thorough testing
Integrate with your frontend:
Import your contract ABIs from the artifacts
Create custom hooks for your specific contract functions
Handle transaction states and errors in your UI
5. Deploy to Farcaster or MiniPay
Host Your App
Option 1: Temporary hosting on ngrok
In your terminal run
ngrok http 3000
Option 2: Deploy to Vercel
Test on MiniPay
Download MiniPay --> Settings --> About --> Tap Version number 10 times --> Return to Settings --> Click Developer Settings
Paste your hosted app link in the URL field
Follow instructions here for more step-by-step details.
NOTE: To get listed on MiniPay, please submit your app here.
Launch on Farcaster
Open Farcaster --> Developers --> Manifest --> Paste the link to your app
Click 'Generate Account Association'
Go to your apps .env variables and paste the account association values in the respective fields
NOTE: If you are using Vercel, add your env variables on your Vercel project. Setting --> Project Setting --> Environment Variables --> add in the respective Key/Value fields
Redeploy your app and ensure you have a valid manifest setup
Update the logo, hero, and splash images (update NEXT_PUBLIC_URL in your .env config to your hosted domain)
Get at least 10 users to test your app to show up in the Farcaster Mini App search page
IMPORTANT: Double check you are using the Farcaster miniapp-wagmi-connector to automatically connect your mini app to the Farcaster wallet. Follow implementation details here.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Building a Mini App with Celo Composer
Why Mini Apps
Celo is the home of real-world mini apps – small web apps that run inside wallets. They’re fast to build, easy to share, and powerful because they meet users where they already are.
On Celo, mini apps can run both in Farcaster, a growing onchain social network, and in MiniPay, a lightweight wallet built into the Opera Mini browser that millions of people use across Africa and beyond.
Why Celo
Building a Farcaster Mini App
1. Setting up your environment
Prerequisites:
2. Creating the app template
Option 1: Manual Terminal
In the terminal, paste the following command
npx @celo/celo-composer@latest create farcaster-miniappOption 2: Vibe Code prompt
3. Creating the Front End
4. Adding Onchain Functionality
Option 1: Add Simple Onchain Interactions
When to use this:
How It Works:
bash npm install wagmi viem @tanstack/react-queryOption 2: Add existing smart contract
Best for: Standard use cases with pre-built, audited contract templates
When to use this:
Examples: NFT collections, loyalty tokens, membership passes, simple marketplaces
How it works:
Use Thirdweb to deploy pre-built, customizable contracts through their dashboard or SDK. These contracts are already verified and optimized.
Implementation steps:
Note: wagmi and Thirdweb are both wallet/transaction management systems. Stick to one system to avoid running into bugs. Easiest option is to treat Thirdweb as a "contract deployer + ABI provider" and use wagmi for all the interactive stuff.
Option 3: Write a custom smart contract
Best for: Unique business logic, complex interactions, and applications requiring full control
Celo Composer provides a monorepo architecture with:
5. Deploy to Farcaster or MiniPay
Host Your App
Option 1: Temporary hosting on ngrok
In your terminal run
Option 2: Deploy to Vercel
Test on MiniPay
Follow instructions here for more step-by-step details.
NOTE: To get listed on MiniPay, please submit your app here.
Launch on Farcaster
NOTE: If you are using Vercel, add your env variables on your Vercel project. Setting --> Project Setting --> Environment Variables --> add in the respective Key/Value fields
All reactions