Skip to content

tiluckdave/Web3Lance

Repository files navigation

Web3Lance

Demo Video

Visit site

Smart Contract Deployed on Polygon Amoy Testnet

Contract Address - 0x5b1C974C5bCC8bd70447f5b9403a6729f7Aba12f

View on Polygonscan

Table of Contents 📑

Introduction 🚀

Web3Lance is a decentralized application (dApp) built on Polygon blockchain using Solidity smart contracts. It provides a secure and trustless escrow service, facilitating secure transactions between buyers and sellers without the need for intermediaries.

What is Escrow ❓❔

  • Escrow is a financial arrangement used to safeguard funds or assets during a transaction.
  • It involves a neutral third party acting as an intermediary between the buyer and seller.
  • The third party holds the funds or assets until all conditions of the transaction are met.
  • Escrow is commonly used in real estate transactions, business deals, and online purchases.
  • It helps protect both parties from fraud and ensures the transaction is completed fairly.

Tech Stack 🛠️

JavaScript React Next.js Solidity Chakra Metamask

  • Next.js: A React framework for building server-side rendered (SSR) and statically generated web applications.
  • Chakra UI: A simple and elegant UI component library for React applications.
  • JavaScript: The primary programming language used for the frontend development.
  • Solidity: A smart contract programming language used for developing Ethereum-based smart contracts.
  • MetaMask

Project Overview 📝

The Web3Lance project aims to create a transparent and secure platform for facilitating transactions, particularly useful for e-commerce, freelancing, and digital goods exchanges. It allows users to create escrow contracts, hold funds in a secure manner, and ensure successful delivery before releasing the funds to the seller.

Features ✨

  • Create Escrow Contract: Users can create new escrow contracts with specific terms and conditions for the transaction.
  • Secure Fund Holding: Funds are held securely in the escrow contract until the transaction is successfully completed.
  • Transaction Status Tracking: Real-time tracking of transaction status (Open, Pending, Delivery, Confirmed, Disputed).
  • Buyer Protection: Buyer can request refunds and dispute the transaction in case of issues.

Installation 🛠️

Follow these steps to set up the project locally:

  1. Clone the repository: git clone <repository-url>
  2. Change into the project directory
  3. Install dependencies: yarn

Setting Up Contract🛠️

  1. cd contract
  2. Install dependencies: yarn
  3. Compile and deploy the contract: npx hardhat run scripts/deploy.js --network amoy
  4. Change the contract address in CONTRACT ADDRESS in components/ConnectProvider.js to the address of the deployed contract.

Usage 🚀

  1. Start the development server: yarn dev
  2. Access the application at http://localhost:3000

License 📄

This project is licensed under the MIT License.


Secure Escrow provides a secure and reliable platform for conducting transactions with enhanced trust and confidence. By leveraging blockchain technology, it empowers users to engage in secure transactions without relying on traditional intermediaries. Whether it's a freelance payment or an e-commerce purchase, Secure Escrow ensures a seamless and trustworthy transaction experience. 💪