A next-generation Web3 freelancing marketplace with smart contract escrow, AI-powered verification, and PYUSD stablecoin payments.
ChainLance eliminates the high fees and trust issues of traditional freelancing platforms by leveraging blockchain technology, autonomous AI agents, and decentralized escrow. Built for the modern gig economy with security, transparency, and fairness at its core.
- Zero Trust Required: Smart contracts handle all payments automatically
- On-Chain Reputation: Permanent, tamper-proof ratings and reviews
- 0-3% Platform Fees: Drastically lower than traditional 10-20% fees
- PYUSD Payments: Stable, USD-pegged cryptocurrency for predictable pricing
- Global Access: Work with anyone, anywhere, without intermediaries
- Spam Prevention: Required escrow deposit ensures serious job postings only
- Quality Assurance: AI agents verify deliverables meet your criteria
- Automatic Release: Payments auto-release after 14 days if no action taken
- Multiple Contract Types: Fixed-price, hourly, and milestone-based projects
- Protected Deposits: Get refunded if you cancel before accepting bids
- Payment Security: Funds locked in escrow before work begins
- Fair Disputes: AI verification protects against unfair rejections
- Stake-Based Bidding: Only serious bids with token collateral
- Guaranteed Payments: Auto-release ensures timely compensation
- Portable Reputation: Your ratings follow you on-chain forever
- React 18 - Modern UI library
- TypeScript - Type-safe development
- Tailwind CSS - Utility-first styling
- Vite - Lightning-fast build tool
- Lucide React - Beautiful icons
- Supabase - PostgreSQL database with real-time subscriptions
- Row Level Security - Database-level access control
- Real-time Updates - Live notifications and contract changes
- Wallet Connection - MetaMask and WalletConnect support
- Smart Contracts - Solidity-based escrow and payment logic
- PYUSD Integration - PayPal USD stablecoin for payments
- Fetch.ai Agents - AI-powered deliverable verification
- Lit Protocol - Delegated transaction signing with Vincent
- Cross-Chain Support - Multi-blockchain compatibility
Complete PostgreSQL schema with 9 tables:
- profiles - User accounts with wallet addresses, ratings, earnings
- jobs - Job postings with escrow deposits and requirements
- bids - Freelancer proposals with stake amounts
- contracts - Active agreements between parties
- milestones - Deliverable checkpoints with AI verification
- ratings - On-chain reviews and reputation scores
- notifications - Real-time activity updates
- messages - Direct communication between users
- time_logs - Hour tracking for hourly contracts
All tables have Row Level Security enabled with proper access policies.
- Connect Wallet - MetaMask or other Web3 wallet
- Post Job - Describe project, set budget, deposit 15% escrow
- Review Proposals - Evaluate freelancer bids with staked tokens
- Accept Bid - Lock full payment in smart contract escrow
- Review Work - Check deliverables or wait for auto-release
- Rate Freelancer - Leave on-chain review after completion
- Connect Wallet - Link your Web3 identity
- Browse Jobs - Search and filter available projects
- Submit Bid - Stake 10% of bid amount as collateral
- Get Hired - Finalize contract terms with client
- Deliver Work - Submit milestones verified by AI agents
- Receive Payment - Automatic release on approval or 14-day timeout
- Rate Client - Build on-chain reputation history
- Escrow locks funds before work begins
- Automatic slashing for bad actors
- Multi-signature support for large contracts
- Emergency pause functionality
- Upgradeable contract patterns
- Fetch.ai autonomous agents evaluate deliverables
- Automated testing for code submissions
- Content quality checks for creative work
- Guaranteed minimum payment on AI approval
- Reduces dispute resolution time
- Row Level Security on all database tables
- Wallet-based authentication
- Protected API endpoints
- Rate limiting on submissions
- Input validation and sanitization
Node.js 18+ and npm
MetaMask or Web3 wallet browser extension
Supabase account (for database)# Clone the repository
git clone https://github.com/yourusername/chainlance.git
cd chainlance
# Install dependencies
npm install
# Configure environment variables
cp .env.example .env
# Edit .env with your Supabase credentials
# Start development server
npm run dev
# Build for production
npm run buildCreate a .env file with:
VITE_SUPABASE_URL=your_supabase_url
VITE_SUPABASE_ANON_KEY=your_supabase_anon_key- Wallet connection and authentication
- User profiles with editable information
- Job posting with multi-step form
- Job browsing with search and filters
- Detailed job views with requirements
- Freelancer bidding system with stakes
- Contract management dashboard
- Responsive mobile-first design
- Real-time database subscriptions ready
- Smart contract deployment and integration
- PYUSD payment processing
- Fetch.ai agent integration
- Lit Protocol Vincent signing
- Milestone submission and approval
- Time tracking for hourly contracts
- Direct messaging system
- Notification center
- Rating and review system
- Dispute resolution interface
- Cross-chain support
- Upwork-Inspired UX - Familiar, intuitive interface for users
- Modern Aesthetics - Clean, professional design with gradients
- Mobile-First - Responsive layouts for all screen sizes
- Accessible - WCAG-compliant with keyboard navigation
- Performance - Optimized loading and smooth interactions
USD-pegged stablecoin for all platform payments. Eliminates crypto volatility while maintaining blockchain benefits.
Autonomous agents verify deliverables against contract criteria, ensuring fair outcomes and reducing disputes.
Delegated signing enables automatic payments without compromising security. Freelancers pre-authorize fund releases based on conditions.
Off-chain state channels for micropayments in hourly contracts, reducing gas fees and enabling instant transfers.
- Fixed Price - One-time payment for complete project
- Milestone-Based - Split into phases with separate payments
- Hourly - Pay per tracked hour with weekly settlements
- Retainer - Prepaid time bank for ongoing work
- AI Verification - First line of defense for quality issues
- 14-Day Auto-Release - Prevents payment withholding
- Stake Slashing - Automatic penalties for breach of contract
- Community Arbitration - Optional Kleros integration for complex cases
- 3% Platform Fee - Taken from freelancer earnings (vs 10-20% on traditional platforms)
- No Client Fees - Clients pay only the project amount plus gas
- Escrow Interest - Revenue from locked funds (optional)
- Premium Features - Verified badges, featured listings, analytics
- β Core platform UI/UX
- β Database schema and API
- β Wallet authentication
- β Job and bid management
- Smart contract development
- PYUSD integration
- Basic AI verification
- Testing on testnet
- Mainnet launch
- Advanced AI features
- Cross-chain support
- Mobile apps
- DAO governance
- Token launch
- Global expansion
- Enterprise features
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE file for details
- Website: https://chainlance.io (coming soon)
- Documentation: https://docs.chainlance.io (coming soon)
- Twitter: @ChainLance
- Discord: discord.gg/chainlance
- GitHub Issues: Report bugs and request features
- Discord: Join our community for help
- Email: support@chainlance.io
Built with β€οΈ by the ChainLance team for the future of work.