https://github.com/alchemyplatform/escrow-hardhat
https://github.com/alchemyplatform/escrow-hardhat
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/alchemyplatform/escrow-hardhat
- Owner: alchemyplatform
- Created: 2022-12-23T08:50:37.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-05T22:00:25.000Z (almost 3 years ago)
- Last Synced: 2025-03-02T13:08:47.325Z (over 1 year ago)
- Language: JavaScript
- Size: 416 KB
- Stars: 22
- Watchers: 17
- Forks: 225
- Open Issues: 2
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Decentralized Escrow Application
This is an Escrow Dapp built with [Hardhat](https://hardhat.org/).
## 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](http://localhost:3000) to view it in your browser.