Skip to content

davidbaruchdev/carbnb

Repository files navigation

🚗 CarBnB

Rent cars from locals anywhere. Crypto payments, no middlemen.

💡 What is CarBnB?

CarBnB connects digital nomads with locals who rent their cars. Experience cities authentically while locals earn passive income—all powered by Celo blockchain.

The Problem: Digital nomads need local transportation but traditional rentals are expensive and impersonal.

Our Solution: P2P car rental with instant cUSD payments, no intermediaries, on-chain reputation.

🏆 Celo Integration

Smart Contract: 0x78B4720E6A45a9dfbb5d72C6f019020556a85600

  • ✅ Deployed on Celo Testnet
  • ✅ Verified on CeloScan
  • ✅ Payments in cUSD (stable, fast, cheap)
  • ✅ Farcaster MiniApp with auto-connect wallet

Key Features:

  • List cars for rent
  • Instant cUSD payments
  • 2.5% platform fee
  • On-chain transaction history

Why Celo?

  • Mobile-first for travelers
  • Stable payments with cUSD
  • Low fees for micropayments
  • Financial inclusion focus

🦑 SQD Pipes SDK Integration

We use SQD Pipes SDK to index all CarBnB events in real-time from Celo Testnet.

What we index:

  • CarListed - Every new car listing
  • CarRented - Every rental transaction
  • RentalCompleted - Completed rentals

🚀 Live Demo

App: https://carbnb.vercel.app (or run locally)

Run Locally:

git clone https://github.com/yourusername/carbnb
cd carbnb
pnpm install
cd apps/web
pnpm run dev

Visit http://localhost:3000

🛠️ Tech Stack

  • Blockchain: Celo Testnet
  • Smart Contracts: Solidity 0.8.20
  • Frontend: Next.js 14, React, TypeScript
  • Wallet: Wagmi + Farcaster MiniApp Connector
  • Data Indexing: SQD Pipes SDK
  • Styling: Tailwind CSS
  • Database: Supabase (metadata)

📝 How It Works

  1. List Your Car: Owners list cars with price/day in cUSD
  2. Rent a Car: Travelers browse and pay instantly on-chain
  3. Complete Rental: Owner confirms and releases deposit
  4. Build Reputation: On-chain history creates trust

🎯 Future Plans

  • On-chain reputation system with NFT badges
  • Insurance protocol integration
  • Mobile native app
  • Multi-chain support (Base, Optimism)

👥 Team

  • David Espinoza
  • Tatiana Borda

Built with ❤️ at ETHGlobal Buenos Aires 2024

📄 License

MIT


Built for ETHGlobal Buenos Aires | Powered by Celo & SQD