Skip to content
SafeLance

SafeLance

Decentralised freelancing modern platform

Created on 6th September 2025

•

SafeLance

SafeLance

Decentralised freelancing modern platform

The problem SafeLance solves

Freelancers and clients often struggle with trust, payment security, and fair dispute handling when working online. Traditional platforms like Upwork or Fiverr act as intermediaries, but they charge high fees (10–20%) and keep full control over the funds.

Our Web3-powered Freelance Escrow Platform solves this problem by:

🔒 Secure Payments with Escrow: Funds are locked in a smart contract on Ethereum, ensuring neither the client nor freelancer can cheat.

⚡ Automated Payouts: Once work is approved, payments are instantly released—no delays or middlemen.

🛡️ Dispute Resolution: In case of conflicts, an admin/multisig wallet ensures fair handling, protecting both parties.

📉 Low Platform Fees: Only ~2% compared to 10–20% on traditional platforms.

⏳ Deadline Extensions & Cancellations: Flexible contract adjustments without risking funds.

🌐 Decentralized File Storage: Work deliverables stored on IPFS, preventing unauthorized use before approval.

Challenges we ran into

  1. Escrow Logic Complexity 🧩
    Designing a contract that fairly handles multiple states—created, accepted, submitted, approved, canceled, disputed—was tricky. I initially had issues where funds would get stuck in the contract after cancellation.
    ✅ Fix: I added a state machine approach (enum for job status) and carefully mapped transitions to ensure every edge case (like early cancellation or dispute) was covered.

  2. Deadline Extension Handling ⏳
    At first, extending deadlines caused transaction failures because the function didn’t correctly reset job status.
    ✅ Fix: I updated the contract to create a new agreement ID whenever deadlines are extended, moving partial funds securely.

  3. Gas Optimization ⛽
    While testing on Sepolia, some functions were more expensive than expected.
    ✅ Fix: I restructured storage (using struct + mappings instead of large arrays) to reduce unnecessary reads/writes.

  4. Frontend ↔ Smart Contract Integration 🔗
    The ethers.js integration failed initially when sending decimals in ETH (e.g., 0.001 ETH-style inputs).
    ✅ Fix: I used ethers.utils.parseEther("0.001") to handle decimals correctly.

Tracks Applied (1)

Ethereum Track

We have built and deployed our smart contracts (made using solidity) on Ethereum Blockchain. We are transferring ethere...Read More
ETHIndia

ETHIndia

Discussion

Builders also viewed

See more projects on Devfolio