🧠 Inspiration

Freelancers and clients often struggle with trust issues, payment disputes, and unfair work evaluations. We were inspired to build a platform that ensures transparency and fairness using blockchain and AI. Our goal was to solve this real-world problem and create a system where both parties can work with confidence—without relying on intermediaries.


💡 What it does

SafeWorkPay is a decentralized freelancing platform that uses smart contracts to hold client funds securely. When a freelancer completes a task, the client can release the payment if satisfied. In case of any disagreement, either party can raise a dispute. An AI model then reviews the submitted work based on the original requirements and calculates a completion percentage. Based on this, the smart contract fairly distributes the funds between the freelancer and the client.


🛠️ How we built it

We used the Ethereum blockchain (Layer 2 for low fees) to create the escrow smart contract system. For AI-based code evaluation, we integrated a basic AI model (based on GPT-4 APIs) that compares submitted code with the project requirements. The frontend was built using React, and the backend API layer was developed in Node.js. The system allows clients to post tasks, deposit funds, and manage the entire process securely.


⚠️ Challenges we ran into

One of the biggest challenges was integrating the AI model with smart contract logic. Making both systems communicate in a smooth and secure way was complex. Designing a fair and logical way to evaluate project completion with AI was another hurdle, especially in subjective cases. Also, ensuring that the whole process remains user-friendly while handling blockchain operations was tricky.


🏆 Accomplishments that we're proud of

We’re proud that we successfully built a working prototype of a platform that combines blockchain security with AI decision-making. SafeWorkPay is a unique solution that tackles a burning problem in the freelancing world. We were able to build something that not only works but also has real potential to make freelancing more fair and reliable.


📚 What we learned

Through this project, we learned a lot about smart contract development, blockchain integration, and the challenges of building AI-powered applications. It also gave us hands-on experience with combining different technologies into one seamless product. We also learned how to think from the user’s perspective while building a decentralized platform.


🚀 What's next for SafeWorkPay

In the next phase, we plan to add multiple AI models to evaluate the work from different perspectives. We’ll then average the results to get a more accurate and fair project completion score. We also aim to make the entire process fully automated—from code checking to fund distribution—so that dispute resolution can happen without manual involvement.


Share this project:

Updates