Skip to content

Pat-r1ck/hackust23

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HackUST 2023


Team Name: (T.A.M.J.A.I.)

The Association of Mission-driven, Judicious, and Ambitious Individuals


Table of Contents


Introduction

The following project is a submission for HackUST 2023.

Homeābode leverages both finance and Web3 technologies to create a community-driven platform for affordable housing. It consists of two main components:

a) A REIT fund that manages and rents out housing for low-to-middle income HK residents at slightly below market price

b) A platform powered by smart-contracts and blockchain monitoring framework that increases the transparency of the fund’s assets and social impact.

The codebase for the project is split into two parts: the blockchain network and the web application.

The blockchain network is built using solidity and local ganache server.

The web application is built using Next.js.


Getting Started

Prerequisites

  • Node.js
  • NPM
  • Git
  • Metamask
  • ganache
  • hardhat

Installation

Cloning the repo

  1. Clone the repo
    git clone https://github.com/Pat-r1ck/hackust23.git

Blockchain Network

  1. Change directory to the web3 folder

    cd hackust23/web3
  2. Install NPM packages

     npm install
  3. Start the local blockchain network

    ganache -h localhost -p 8545 -d
  4. Compile the smart contracts

    npm run deploy
  5. Open the link provided in the terminal to connect to the local blockchain network. Connect the metamask wallet to the local blockchain network by copying the private key of the first account in the ganache terminal and import it into the metamask wallet. Change the network to localhost:8545.

  6. Deploy the smart contract and copy the contract address of the deployed smart contract and paste it in the .env.development file in the client folder.

Web Application

  1. Change directory to the client folder
    cd hackust23/client
  2. Install NPM packages
     npm install
  3. Start the web application
    npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published