Skip to content

Land Registry is a simple frontend connected with ethereum via smart contract for registering Real esate property.

Notifications You must be signed in to change notification settings

Kaido997/Land_registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Land Registry

Land Registry is a simple frontend connected with ethereum via smart contract for registering Real esate property.

Presentation

The Idea

The idea was to made an easy platform to manage the property of citizens in a free and fast way without paying for registering a property or transfer a property in the notary offices

What i used?

  • Solidity
  • Truffle
  • Ganache
  • Vuejs
  • Metamask
  • Web3js

How it works?

So i built the system to rappresent the property like NFT (there is a ERC721 implementation of the base contract you can check it in the contracts folder), and inside of the NFT there is a set of data:

  • ID
  • Squere meteres of the proprety
  • Geographic coordinates encoded as Bytes32

Screenshot 2022-11-09 110026

Functionalties:

Metamask integration for the account system.

ERC721 function implementation like:

  • Land Balance
  • Land Owner
  • Land Transfer
  • Land Approval

Screenshot 2022-11-09 111931

Each button is connect to a function in the contract io order is balanceOf, ownerOf, safeTransferFrom, approval. Allowing you to make the basic function of ERC721 standard like transfer your land to another user or check who is the owner of land.

Installation

  • Install Metamask
  • Install Ganache and run it
  • Add ganache on metamask
  • Import the first account of ganache in metamask
  • Install Truffle on contract folder and then run the tests folder
npm install -g truffle
truffle test
  • Add truffle-config.js to ganache to import the project
  • Deploy the contract to ganache
truffle deploy
  • Add the contract address to App.vue on line 24
  • On landregister folder
npm install
npm run dev

That's it now play around with the site... enjoy

Preview of the site

Screenshot 2022-11-09 113554

About

Land Registry is a simple frontend connected with ethereum via smart contract for registering Real esate property.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published