Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🏒 Decentralized Land Registry DApp

A modern, secure, and transparent blockchain-based application designed to revolutionize land ownership management.

The Land Registry DApp eliminates the risks of fraud, corruption, and inefficiency inherent in traditional, paper-based land registry systems. Built on the Ethereum blockchain, it provides a tamper-proof ledger where property deeds are verified, registered, and transferred securely.


✨ Key Features

  • πŸ” Admin Authentication: Strict role-based access control. Only the authorized contract deployer (Admin) can verify citizens.
  • πŸ“œ Smart Contract Ownership: Land records are permanently stored and verified on the Ethereum blockchain.
  • 🀝 Secure Transfer of Title: Seamlessly and securely transfer property ownership through autonomous smart contracts. Only the current verified owner can initiate a transfer.
  • 🌐 Modern Web3 Interface: A sleek, enterprise-grade frontend dashboard featuring glassmorphism, toast notifications, and MetaMask integration.
  • πŸ›‘οΈ Tamper-Proof Records: Immutability guarantees that once a transaction is recorded, it can never be altered or forged.

πŸ› οΈ Technology Stack

  • Smart Contracts: Solidity (^0.8.0)
  • Blockchain Network: Local Ganache / Ethereum Testnets
  • Development Environment: Truffle Suite
  • Frontend Interactivity: Web3.js
  • UI/UX Design: HTML5, Vanilla CSS, FontAwesome, Google Fonts (Outfit)

πŸ“ Folder Structure

LAND-REGISTRY-DAPP/
β”œβ”€β”€ build/                # Compiled smart contracts
β”œβ”€β”€ contracts/            # Solidity smart contracts
β”œβ”€β”€ migrations/           # Deployment scripts for smart contracts
β”œβ”€β”€ test/                 # Tests for smart contracts
β”œβ”€β”€ .env                  # Environment variables
β”œβ”€β”€ .gitignore            # Git ignore file
β”œβ”€β”€ index.html            # Main frontend application file
β”œβ”€β”€ logo.png              # Project logo
β”œβ”€β”€ package.json          # Node.js dependencies and scripts
β”œβ”€β”€ package-lock.json     # Lockfile for Node.js dependencies
β”œβ”€β”€ README.md             # Project documentation
└── truffle-config.js     # Truffle configuration file

πŸš€ Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You will need the following installed on your machine:

Installation & Deployment

  1. Clone the repository

    git clone https://github.com/your-username/LAND-REGISTRY-DAPP.git
    cd LAND-REGISTRY-DAPP
  2. Start a local blockchain Open a terminal and start Ganache to create a local Ethereum network on port 7545.

    npx ganache -p 7545

    (Keep this terminal window open!)

  3. Deploy the Smart Contract Open a second terminal window in the project directory and migrate the smart contract:

    npx truffle migrate --network development

    Important: Note the contract address printed in the terminal output. You will need this for the frontend!

  4. Launch the Frontend Use any local web server to host the index.html file. For example:

    npx serve -l 3000

    Open your browser and navigate to http://localhost:3000.


πŸ“– How to Use the DApp

  1. Connect Wallet: Configure MetaMask to connect to Localhost 7545 and connect your wallet via the UI.
  2. Initialize Contract: Paste the deployed contract address into the System Config tab and click "Initialize".
  3. Verify Citizen (Admin Only): Switch your MetaMask to the Ganache account that deployed the contract (Account #0). Use the Admin Panel to verify the Ethereum address of the user who wishes to register land.
  4. Register Land: Once verified, switch to the user's account and register a new parcel of land using a unique ID, location, and area size.
  5. Lookup / Transfer: Use the Public Registry Lookup to view an official digital certificate of ownership, or transfer the land to another Ethereum address!

Version Solidity Web3.js License

---

πŸ‘¨β€πŸ’» Author

Sarvesh Pingale


If you like this project, please consider giving it a ⭐ on GitHub!

About

πŸ”— Land Registry DApp

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages