An open API service indexing awesome lists of open source software.

https://github.com/ayush272002/real-estate-application

A basic real estate application to demonstrate how smart contract works
https://github.com/ayush272002/real-estate-application

etherjs hardhat reactjs solidity

Last synced: 2 months ago
JSON representation

A basic real estate application to demonstrate how smart contract works

Awesome Lists containing this project

README

          

# Real Estate NFT App

## Technology Stack & Tools

- Solidity (Writing Smart Contracts & Tests)
- Javascript (React & Testing)
- [Hardhat](https://hardhat.org/) (Development Framework)
- [Ethers.js](https://docs.ethers.io/v5/) (Blockchain Interaction)
- [React.js](https://reactjs.org/) (Frontend Framework)
- [Oppenzepplin](https://docs.openzeppelin.com/contracts/5.x/erc721) (Pre Built Smart Contracts)

## Requirements For Initial Setup
- Install [NodeJS](https://nodejs.org/en/)

## Setting Up
### 1. Clone/Download the Repository

### 2. Install Dependencies:
`$ npm install`

### 3. Run tests
`$ npx hardhat test`

### 4. Start Hardhat node
`$ npx hardhat node`

### 5. Import the test accounts into metamask wallet given by running the above command the order of the accounts will be buyer, seller, inspector, lender

### 5. Run deployment script
In a separate terminal execute:
`$ npx hardhat run ./scripts/deploy.js --network localhost`

### 7. Start frontend
`$ npm run start`