Skip to content

weikenchoo/escrow-hardhat

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

  • Added walletconnect
  • Able to interact with goerli testnet
  • Made changes to Solidity file so that user won't have to deploy a new contract for every new escrow
    • Contract keeps track of all the escrows created.

Future improvements

  • Add transaction link to etherscan
  • Add loading screen while waiting for transaction to be confirmed

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.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 80.5%
  • HTML 7.5%
  • Solidity 7.2%
  • CSS 4.8%