- About
- Features
- Tech Stack
- AI & Blockchain Integration
- Getting Started
- Usage
- Project Structure
- Screenshots
- Future Scope
- Team
- License
FarmBazaar is a decentralized contract farming platform that bridges the gap between farmers and buyers by enabling secure advance crop deals before the harvest season using blockchain smart contracts. It empowers farmers with AI-driven price prediction, yield estimation, multilingual chatbot assistance, and verified KYC assurance.
- 🔐 Farmer KYC verification for trusted listings
- 🪙 Smart contracts for secure crop pre-booking
- 💰 Advance payment lock system on blockchain
- 📈 AI-based crop price prediction
- 🌱 AI yield/production estimator
- 🌍 Multilingual support with chatbot (Hindi, Marathi, etc.)
- 📋 Admin dashboard for managing KYC and listings
- 📊 Real-time analytics and PDF-based contract summaries
- React.js
- Tailwind CSS
- i18next (Localization)
- Node.js
- Express.js
- Firebase Auth (Authentication)
- MongoDB (Crop & User Data)
- IPFS (File storage)
- Solidity (Smart Contracts)
- Hardhat / Remix IDE
- Web3.js or Ethers.js
- Polygon (Testnet/Mainnet)
- Python (Flask/FastAPI)
- Decision Tree Regressor (Price Prediction)
- Decision Tree Classifier (Price Category)
- Yield Estimator (Custom Model)
| Feature | Tech/Model Used |
|---|---|
| Crop Price Prediction | DecisionTreeRegressor + Flask API |
| Price Category | DecisionTreeClassifier |
| Yield Estimation | Heuristic/ML Model + FastAPI |
| Contract Farming | Solidity + Smart Contracts |
| Payment Verification | Smart Contract on Polygon Testnet |
git clone https://github.com/SahilMotiramani/FarmBazaar-project.git cd FarmBazaar-project
cd client npm install
cd ../server npm install
npm run dev
cd ../client npm start
cd blockchain npx hardhat run scripts/deploy.js --network polygon-mumbai
FarmBazaar/
│
├── frontend/ # React Frontend
│ └── src/
│ ├── pages/
│ ├── components/
│ └── hooks/
│
├── backend/ # Node.js Backend API
│ └── routes/
│ └── controllers/
| └── routes/
│ └── server.js
│
├── ai/ # Python Flask/FastAPI for AI
│ └── model.pkl
│ └── app.py
│
├── blockchain/ # Solidity Smart Contracts
│ └── contracts/
│ └── scripts/
│
├── public/
└── README.md
- 🛰️ Real-time weather integration via APIs
- 📦 Supply chain & delivery tracking
- 🌐 Oracle integration for delivery verification
- 📱 Android/iOS app via React Native or Flutter
- 🪪 Digital Farmer Credit Score based on history
- Sahil Motiramani – Full Stack Dev, Blockchain & AI
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by Sahil Motiramani
