Sajid-Rajput / Decentralized-Escrow-Application

Decentralized Escrow Web App: Secure, Trustless, and Hybrid - Empowering Depositors, Beneficiaries, and Arbiters for seamless transactions.

Home Page:https://sajid-escrow-dapp.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Decentralized Escrow Application

This is an Escrow Dapp built with Hardhat.

Project Layout

There are three top-level folders:

  1. /app - contains the front-end application
  2. /contracts - contains the solidity contract
  3. /tests - contains tests for the solidity contract

Setup

Install dependencies in the top-level directory with npm install.

After you have installed hardhat locally, you can use commands to test and compile the contracts, among other things. To learn more about these commands run npx hardhat help.

Compile the contracts using npx hardhat compile. The artifacts will be placed in the /app folder, which will make it available to the front-end. This path configuration can be found in the hardhat.config.js file.

Front-End

cd into the /app directory and run npm install

To run the front-end application run npm start from the /app directory. Open http://localhost:3000 to view it in your browser.

Back-End

cd into the /server directory and run npm install

To run the back-end application run nodemon app.js from the server directory. The server is running on http://127.0.0.1:4000.

In the cors middleware change the origin and adds your for testing and connecting the API.

About

Decentralized Escrow Web App: Secure, Trustless, and Hybrid - Empowering Depositors, Beneficiaries, and Arbiters for seamless transactions.

https://sajid-escrow-dapp.vercel.app/

License:MIT License


Languages

Language:JavaScript 80.3%Language:CSS 13.4%Language:HTML 4.7%Language:Solidity 1.7%