Skip to content

Decentralized Land Registration System on Hyperledger Fabric Private Blockchain

Notifications You must be signed in to change notification settings

MohammadRokib/PropertyBlock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Property Block

A Land Registration System on Private Blockchain
Explore the docs »

Report Bug · Linkedin · Mail

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contact
  5. Acknowledgments

About The Project

In this project, I developed a Land Registration System using Hyperledger Fabric, a private blockchain, to securely store immutable land information and application details. Users can register and sell lands in a secure way. This solution will also prevent the possibility of selling a piece of land multiple times.

(back to top)

Built With

  • Node.js
  • Go
  • Hyperledger Fabric
  • MongoDB

(back to top)

Getting Started

Prerequisites

In order to clone and run the project these have to be installed in your machine.

  • git

    • Check if the installation was successfull or not with git --version and you should see a response like git version x.x.x
  • Node.js with nvm

    • You'll be able to run the following command if you install nodejs:

      • node --version and get an ouput like: vx.x.x
  • Go with gvm

    • You'll be able to run the following command if you install yarn:

      • go version and get an output like: go version gox.x.x
  • Hyperledger Fabric

    • You'll be able to run the following command if the installation was successfull:
      • docker images and all the images will show up in the terminal

Quickstart

git clone https://github.com/MohammadRokib/PropertyBlock
cd PropertyBlock/chaincode-api/api/
npm i

Put this .env file in the PropertyBlock/caincode-api/api folder with necessary database connection key:

MONGO_URI = 

(back to top)

Usage

Start The Network

Type this command from the PropertyBlock/test-network folder:

./startledger.sh

This will start the Fabric Network with 2 Peers 1 Orderer and Certificate Authority Server for each.

Install Server Dependencies

Go to folder: PropertyBlock/chaincode-api/api

  • Generate public & private keys for JWT authentication:

    • Run this command:
    • node generateKeypair.js This will create a public and a private key.
  • Start the server with this command:

    • npm start

API Documentation

You can figure out by looking at the code inside api folder. I will update here soon.

(back to top)

Contact

MohammadRokib - Linkedin - mohammadrokibkhan@gmail.com

GitHub: https://github.com/MohammadRokib

(back to top)

Acknowledgments

(back to top)

About

Decentralized Land Registration System on Hyperledger Fabric Private Blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published