Giter Site home page Giter Site logo

mkbhru / estate-ease Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.53 MB

A web3 alternative to MagicBricks built with Solidity smart contracts. It connects buyer, seller, escrow in a crypto ecosystem.

Solidity 14.39% JavaScript 62.59% HTML 5.49% CSS 17.54%

estate-ease's Introduction

Real Estate NFT DApp - ESTATE EASE

Project Plan

image image

live deployment Screenshots

site homepage image metamask wallet with hardhat accounts image property after sold to buyer #0 after inspection by #2, approved by lender #3 and finally approved by seller #1 image

Project Structure

├── contracts
│   ├── Escrow.sol
│   └── RealEstate.sol
├── hardhat.config.js
├── metadata
│   ├── 1.json
│   ├── 2.json
│   └── 3.json
├── package.json
├── package-lock.json
├── public
│   ├── favicon.ico
│   ├── index.html
│   ├── logo192.png
│   ├── logo512.png
│   ├── manifest.json
│   └── robots.txt
├── README.md
├── scripts
│   └── deploy.js
├── src
│   ├── abis
│   │   ├── Escrow.json
│   │   └── RealEstate.json
│   ├── App.js
│   ├── App.test.js
│   ├── assets
│   │   ├── close.svg
│   │   ├── houses.png
│   │   └── logo.svg
│   ├── components
│   │   ├── Home.js
│   │   ├── Navigation.js
│   │   └── Search.js
│   ├── config.json
│   ├── index.css
│   ├── index.js
│   ├── logo.svg
│   ├── reportWebVitals.js
│   └── setupTests.js
└── test
    └── Escrow.js
My project is basically utilizing already written open source contracts from openZeppelin framework.
in contracts folder we have our Escrow and RealEstate contracts.
in test folder we have our tests build using hardhat the file escrow.js contains all the tests.

Testing Procedure

we can test our smart contract locally by Hardhat using command npx hardhat node it'll start a local hardhat blockchain on our computer, it'll give us 20 accounts with fake ether in them

Now simultaneously run npx hardhat run scripts/deploy.js --network localhost and nfts would mint and get listed on bc

Technology Stack & Tools

  • Solidity (Writing Smart Contracts & Tests)
  • Javascript (React & Testing)
  • Hardhat (Development Framework)
  • Ethers.js (Blockchain Interaction)
  • React.js (Frontend Framework)

Requirements For Initial Setup

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. Run deployment script

In a separate terminal execute: $ npx hardhat run ./scripts/deploy.js --network localhost

7. Start frontend

$ npm run start

estate-ease's People

Contributors

mkbhru avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.