Skip to content

Dapp that interacts with escrows smart contracts.

Notifications You must be signed in to change notification settings

santipu03/escrow-dapp

Repository files navigation

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. /server - contains the server that stores the deployed smart contracts
  4. /tests - contains tests for the solidity contract

Demo

This is an image of the page when is active image

Setup

Install dependencies in the top-level directory with yarn.

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.

Server

cd into the /server directory and run yarn

To run the server run node index from the /server directory. Now the smart contracts that you deploy will be saved in the server as long as it's active.

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.

About

Dapp that interacts with escrows smart contracts.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published