Skip to content

Alchemy University - week 5 Decentralized Escrow Application

Notifications You must be signed in to change notification settings

denbon05/escrow-hardhat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

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 with contracts
  2. /server - contains server

Back-End

cd into the /server directory and run npm install

Front-End

cd into the /app directory and run npm install

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.

To run the local node run make run-node. Connect a wallet for local development.

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

Usage

After your wallet account is connected:

  1. Insert Arbiter and Beneficiary addresses
  2. Type a deposit amount in ETH
  3. Click DEPLOY button
  4. Confirm Wallet prompt
  5. After Arbiter approve the transaction ETH will be transferred

About

Alchemy University - week 5 Decentralized Escrow Application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.9%
  • TypeScript 28.0%
  • HTML 9.4%
  • CSS 5.9%
  • Solidity 3.4%
  • Makefile 0.4%