A modern decentralized finance (DeFi) application built on the Celo blockchain. Swap tokens, bridge assets across chains, and manage your crypto portfolio with ease.
- Token Swap: Exchange CELO, cUSD, cEUR, and cREAL instantly with low fees
- Cross-Chain Bridge: Transfer assets between Celo, Ethereum, Polygon, and Base
- Wallet Management: View balances across Celo mainnet and Alfajores testnet
- Transaction History: Track all your transactions with detailed information
- Modern UI: Beautiful, responsive design that works on desktop and mobile
- WalletConnect Integration: Connect with any wallet supporting WalletConnect v4
- Node.js 18+
- npm/pnpm/yarn
- A WalletConnect Project ID (get one at cloud.walletconnect.com)
- Clone the repository:
git clone <your-repo-url>
cd celo-defi-hub- Install dependencies:
npm install
# or
pnpm install
# or
yarn install- Create a
.env.localfile and add your WalletConnect Project ID:
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID=your_project_id_here- Run the development server:
npm run dev
# or
pnpm dev
# or
yarn dev- Open http://localhost:3000 in your browser
- Celo Mainnet (Chain ID: 42220)
- Celo Alfajores Testnet (Chain ID: 44787)
- Ethereum, Polygon, Base (for bridging)
- Framework: Next.js 15
- Blockchain: Celo, Viem, Wagmi
- Wallet: Reown AppKit (WalletConnect v4)
- UI: Tailwind CSS, Radix UI
- State: React Query
- Go to cloud.walletconnect.com
- Create a new project
- Copy your Project ID
- Add it to your
.env.localfile
You can customize the app in src/config/web3.ts:
export const metadata = {
name: 'Your DApp Name',
description: 'Your description',
url: 'https://yourdapp.com',
icons: ['https://your-icon-url.com']
};- Exchange tokens on Celo network
- Support for CELO, cUSD, cEUR, cREAL
- Real-time price estimates
- Low slippage tolerance
- Cross-chain asset transfers
- Multi-network support
- Transparent fee structure
- Transaction tracking
- Wallet balance display
- Transaction history
- Network information
- Quick access to block explorer
- Non-custodial: You always control your funds
- Audited smart contracts
- Secure wallet connections via WalletConnect
- No private keys stored
- Push your code to GitHub
- Import project in Vercel
- Add environment variable:
NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID - Deploy!
This is a standard Next.js app and can be deployed to any platform that supports Next.js:
- Netlify
- AWS Amplify
- Railway
- Render
MIT License - feel free to use this project for your own purposes
Contributions are welcome! Please feel free to submit a Pull Request.
For support, please open an issue in the GitHub repository.
Celo is a carbon-negative, mobile-first blockchain that makes decentralized financial tools accessible to anyone with a mobile phone. Learn more at celo.org.
Created by @sinirlibiber for the Celo ecosystem
- GitHub: @sinirlibiber
- Farcaster: @gumusbey
Built with ❤️ for the Celo ecosystem