Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psk-98/ethereum-bootcamp-week5
Escrow dapp
https://github.com/psk-98/ethereum-bootcamp-week5
hardhat nextjs solidity
Last synced: 10 days ago
JSON representation
Escrow dapp
- Host: GitHub
- URL: https://github.com/psk-98/ethereum-bootcamp-week5
- Owner: psk-98
- Created: 2023-04-09T11:14:14.000Z (over 1 year ago)
- Default Branch: trunk
- Last Pushed: 2023-04-10T14:33:47.000Z (over 1 year ago)
- Last Synced: 2023-07-19T18:52:37.608Z (over 1 year ago)
- Topics: hardhat, nextjs, solidity
- Language: JavaScript
- Homepage: https://ethereum-escrow.netlify.app
- Size: 565 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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. `/next-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 `/next-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 `/next-app` directory and run `npm install`
To run the front-end application run `npm run dev` from the `/next-app` directory. Open [http://localhost:3000](http://localhost:3000) to view it in your browser.