This project is a decentralized job portal where employers can post jobs, freelancers can apply, and payments are handled through smart contracts. It includes:
✅ Job Listings on Blockchain (Ethereum, Solidity)
✅ Escrow Smart Contracts for Payments
✅ DAO-based Hiring & Dispute Resolution
✅ AI-Powered Job Recommendations
✅ Fully Decentralized & Web3-Enabled
- Solidity (Ethereum Smart Contracts)
- Hardhat (Deployment & Testing)
- IPFS (Decentralized Storage)
- Next.js (React Framework)
- Ethers.js (Blockchain Interaction)
- Web3.js (Ethereum Provider)
- FastAPI (Python Backend)
- Hugging Face Transformers (AI Job Matching)
- Uvicorn (FastAPI Server)
Web3-Job-Portal/
│── backend/ # Smart Contracts
│ ├── contracts/
│ │ ├── JobPortal.sol # Job Management
│ │ ├── Escrow.sol # Payment Handling
│ │ ├── DAO.sol # Governance
│ ├── scripts/
│ │ ├── deploy.js # Deployment Script
│ ├── hardhat.config.js # Hardhat Config
│── frontend/
│ ├── components/
│ │ ├── PostJob.js # Job Posting UI
│ │ ├── JobList.js # Job Listings UI
│ │ ├── DAO.js # DAO Governance UI
│ │ ├── AIRecommendations.js # AI Job Matching
│ ├── utils/
│ │ ├── web3.js # Web3 Interaction
│ ├── pages/
│ │ ├── index.js # Main Page
│── ai-api/
│ ├── recommendation_api.py # AI API for Job Matching
│── README.md # Documentation
npm install --save-dev hardhat ethers dotenv
npx hardhat compile
npx hardhat run scripts/deploy.js --network mumbai
Replace mumbai
with your network (e.g., localhost, goerli).
cd ai-api
pip install fastapi uvicorn transformers torch
uvicorn recommendation_api:app --reload
cd frontend
npm install
npm run dev
- Employers post jobs using PostJob.js UI.
- Jobs are stored on-chain using
JobPortal.sol
.
- Employers deposit salary into Escrow.sol.
- Payment is automatically released after job completion.
- Community votes on disputes using
DAO.sol
. - Uses Snapshot.js for governance voting.
- Uses Hugging Face NLP models to match jobs with freelancer skills.
- API hosted using FastAPI + Uvicorn.
✅ Metamask Authentication
✅ Token-Based Rewards
✅ Skill-Based Smart Matching
✅ On-Chain Freelancer Ratings