Smart Contract Deployed on Polygon Amoy Testnet
Contract Address - 0x5b1C974C5bCC8bd70447f5b9403a6729f7Aba12f
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.
- 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.
- 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
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.
- 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.
Follow these steps to set up the project locally:
- Clone the repository:
git clone <repository-url>
- Change into the project directory
- Install dependencies:
yarn
cd contract
- Install dependencies:
yarn
- Compile and deploy the contract:
npx hardhat run scripts/deploy.js --network amoy
- Change the contract address in
CONTRACT ADDRESS
incomponents/ConnectProvider.js
to the address of the deployed contract.
- Start the development server:
yarn dev
- Access the application at
http://localhost:3000
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. 💪