Skip to content

Caritajoe18/WIBA-final-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚚 DropIt — Decentralized Logistics & Task Marketplace

License: MIT EVM Compatible Built with Foundry Powered by Base

DropIt is a decentralized marketplace where verified individuals complete physical tasks (deliveries, errands, etc.) for others — powered by blockchain verification, escrow payments, and on-chain reputation.
Think of it as “Uber for Tasks” — starting where traditional logistics stops.


Vision

Enable people to request and complete real-world tasks (deliver flowers, pick up groceries, deliver packages, etc.) using verified, KYC’d individuals nearby — ensuring trust, accountability, and transparent reputation, all powered by blockchain.


Project Structure


dropit/
├── frontend/         # React app for users & taskers
├── backend/          # Java or Node.js backend (off-chain ops)
├── smart-contract/   # Foundry Solidity contracts (on-chain logic)
├── README.md
└── .env.example


⚙️ Tech Stack

Layer Technology Purpose
Frontend React TailwindCSS User-facing DApp UI
Backend java / Node.js, PostgreSQL Off-chain data & APIs
Smart Contracts Solidity + Foundry On-chain escrow, identity, reputation
Blockchain Base (EVM L2) Secure, fast, low-cost execution layer
Storage IPFS + Cloud Proofs and task metadata
Web3 Middleware Alchemy / Ethers.js Blockchain connectivity

🌟 Core Features

🧍‍♂️ For Requesters

  • Create & fund tasks via crypto escrow
  • Select verified nearby taskers
  • Track real-time progress
  • Confirm & release payment
  • Leave reviews (on-chain hashed)

🚴 For Taskers

  • Complete KYC & verification
  • Accept one task at a time
  • Receive instant crypto payouts
  • Build immutable on-chain reputation

For Verifiers / DAO

  • Manage KYC verifications
  • Resolve disputes
  • Update on-chain reputation & trust scores

🔗 On-Chain Modules

Contract Purpose
Identity.sol Links verified users’ wallets to KYC hash
TaskEscrow.sol Locks, releases, and manages task payments
Reputation.sol Stores task ratings & performance history
DisputeDAO.sol Manages on-chain dispute resolutions

Foundry Commands

# Compile contracts
cd smart-contract
forge build

# Run tests
forge test

# Deploy to Base testnet
forge script script/Deploy.s.sol \
  --rpc-url $BASE_TESTNET_RPC \
  --private-key $PRIVATE_KEY \
  --broadcast

🧩 Backend API

Handles off-chain functionality such as:

  • Authentication (JWT)
  • Real-time GPS tracking & chat
  • KYC verification & face match
  • IPFS uploads for proof-of-delivery
  • Off-chain ↔ on-chain state sync

Frontend (React )

Features

  • Web3 wallet connection (MetaMask / Coinbase Wallet)
  • Task creation & map discovery
  • Live status tracking + chat
  • Wallet & reputation dashboard
  • Admin/Verifier interface
cd frontend
npm install
npm run dev

Then visit http://localhost:3000


🧪 Local Development Setup (Click to expand)

1️⃣ Clone the repository

git clone https://github.com/Caritajoe18/WIBA-final-Project.git
cd WIBA-final-Project

2️⃣ Set up environment

cp .env.example .env

Fill in your:

  • RPC URLs (Base, Polygon, etc.)
  • Private key for testnet
  • Database connection string
  • API keys (Alchemy, Pinata, etc.)

3️⃣ Run each component

# Smart contracts
cd smart-contract
forge build && forge test

# Backend
cd ../backend
npm install
npm run dev   # or uvicorn main:app --reload

# Frontend
cd ../frontend
npm install
npm run dev

4️⃣ Connect wallet Open http://localhost:3000 and connect via MetaMask or Coinbase Wallet.


☁️ Deployment

Component Platform
Frontend Vercel / Netlify
Backend Render / Railway / AWS
Smart Contracts Base / Polygon (via Alchemy)
Storage IPFS + Pinata

🧭 Roadmap

  • KYC Verification & Wallet Integration
  • Smart Contract Escrow & Payout
  • DAO-based Dispute System
  • Tasker Staking for Integrity
  • Tokenized Rewards
  • React Native Mobile App
  • Multi-Chain Expansion (Polygon zkEVM, Arbitrum)

👥 Contributors

Name Role GitHub
Proper-Progress Mentor @Properprogress1
Carita Developer @caritajoe18
Confidence Developer @xceptionalbae23

🛡️ License

This project is licensed under the MIT License. Feel free to use, modify, and build upon it.


Acknowledgments

  • Foundry — Smart Contract Toolkit
  • OpenZeppelin — Secure Solidity Contracts
  • Alchemy — Blockchain Node & API Provider
  • Base — Ethereum L2 by Coinbase
  • IPFS — Decentralized File Storage

“Deliver trust. On-chain.” Built with love for decentralized logistics.

About

Decentralised Uber for tasks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published