Professional Documents
Culture Documents
Software Engineering
Project Title
Real Estate Decentralize land system
By
Name Registration.no
Dania Shakeel SWEN19111179
Ahmad Raza SWEN19111109
Syed Aveed Ali SWEN19111081
M. Hammad SWEN19111084
Naima Shoukat SWEN19111129
Declaration
We hereby state that our project “Real Estate Decentralize land system” i s our own idea and
we are working on it by our own. This project is our own work and has not been
submitted previously by us for taking any degree from Khwaja Fareed University of Engineering
and Information Technology, Rahim Yar Khan or anywhere else in the country/world.
At any time if our statement is found to be incorrect even after our graduation the university has
the right to withdraw our bachelors of science in software engineering degree.
_______________________
SWEN19111179
_______________________
SWEN19111109
_______________________
SWEN19111081
_______________________
SWEN19111084
_______________________
SWEN19111129
Declaration Report
Approvals
Signature Block
Plagiarism Undertaking
We solemnly declare that this project report titled “Real Estate Decentralize land system” is
solely our original work with no significant contribution from any other person. Small
contribution/help wherever taken has been duly acknowledged and that complete project report
has been written by us.
We understand the zero-tolerance policy of the HEC and Khwaja Fareed University of
Engineering and Information Technology, Rahim Yar Khan towards plagiarism. Therefore, we
as an author of the above titled project report declare that no portion of our project report has
been plagiarized and any material used as reference is properly referred.
We undertake that if we are found guilty of any formal plagiarism in the above titled project
report even after award of BS degree, the University reserves the rights to withdraw/revoke
our BS degree.
_______________________
SWEN19111179
_______________________
SWEN19111109
_______________________
SWEN19111081
_______________________
SWEN19111084
_______________________
SWEN19111129
Abstract
2
Land registration authorities are frequently held accountable for the alleged mismanagement and
manipulation of land records in various countries. Pakistan’s property records are especially
vulnerable to falsification and corruption because of the country’s poverty. Different parties
therefore claim varying degrees of authority over a specific piece of land. Given the fact that this
data has been consolidated, it has become significantly more vulnerable to security threats. The
goal of decentralized system research has been to increase the reliability of these systems. In
order to fix the flaws of centralized systems, blockchain-based decentralized systems are
currently in development. By using significant land record registration models as the basis for this
research, we hope to create a proof-of-concept system or framework for future use. Pakistan’s
land registration agency will benefit from our proposed conceptual framework. For the Pakistani
government to implement a decentralized land record registry system, we propose a conceptual
framework that outlines the essential components.
_______________________
SWEN19111179
_______________________
SWEN19111109
_______________________
SWEN19111081
_______________________
SWEN19111084
_______________________
SWEN19111129
Abstract
Approvals
Signature Block
3
5
INDEX
7 UML Diagram 29
8 Project Closing 30
9 Conclusion 30
10 Progress Report 31
11 References 34
5
6
1. CONTEXT
Blockchain technology emerged as a game-changer during the second decade of the 21st century, revolutionizing
software development practices. Its impact is akin to the advent of the iPhone in 2007. The technology is disruptive
and has the potential to become a ubiquitous part of everyday life, enabling greater transparency in business operations
2. PROBLEM
The Property Registry is a use case that involves multiple intermediaries to establish trust in the system. However, the
existing solutions for property registry are outdated and ineffective. Maintaining thousands of land records is a
challenging task, especially when most of these records are not digitized, or it takes a long time to digitize them. As a
result, tracking ownership of properties becomes a daunting task
3. SOLUTION
The transparent nature of blockchain technology makes it possible to create a traceable system for property ownership
transfers. With its immutable, auditable, and traceable features, governments worldwide are exploring the potential of
blockchain in land registry processes. In our project, we aim to develop a trustworthy and transparent system for
property record-keeping. To achieve this, we propose the use of a Decentralized Application (DAPP) that will serve as
a one-stop-shop for all land-related transactions, including buying, selling, and registration of land transfers.
6
7
1. INTRODUCTION
The involvement of middlemen and brokers makes the process expensive and tedious. There are
a lot of fraud cases due to fake ownership. There is a significant time delay – two to three
months from registration to completion.
Land registration is prone to error as human interaction increases the probability of errors.
Current digitized method of property registration occurs on a centralized server which has the
following disadvantages – can be misused, tamper able, lack of transparency, inefficient. Multiple
Agencies such as - Land Records, Survey, Courts, Bank, and Registration Department) and the
lack of coordination amongst them
7
8
The idea of implementing a blockchain-based solution for land registry or expanding the existing system is
driven by the numerous potential applications of blockchain technology. The objective of this
implementation is to provide:
1.4 ISSUES
Blockchain is best at transmitting small amounts of data. However new updates resolving this are
already in implementation. The blockchain technology is still at its nascent stage and there are
still some looming legal and administrative ramifications. It is also hard to talk about to users
because of its complexity.
Assumptions
1. Since it is a relatively new technology, the common people must be made aware
of the benefits and uses of a complex technology like Blockchain.
Constraints
1. Data must be accurate when it is entered, and records must include enough
information to be authoritative about the properties they are referring to.
8
9
Blockchain technology has the potential for numerous applications in property registration.
Despite some limitations and questions that still need to be discussed, certain processes could
undoubtedly benefit from the implementation of blockchain technology. One such benefit is the
increased trust in the data stored in property registration systems, especially in developing and
transitional countries. Additionally, blockchain technology could reduce the time required to
register changes in property registration data, which can currently take several months to even up
to two years in some cases.
While the possibility of implementing an entire property registration system on blockchain is still
a topic of debate, there are some limitations to consider. Property registration systems typically
store a large amount of legal and spatial data, and using a permissionless blockchain would
require finding an alternative way of storing documents, such as in torrents or Interplanetary File
System. However, using permissioned blockchain systems, such as those implemented using
Hyperledger technology, may allow certain documents to be stored in blockchain.
Despite the limited number of peer-reviewed papers on the potential applications of blockchain in
property registration, some case studies have demonstrated its benefits. Further research in this
field is necessary to determine how blockchain technology can be best utilized in property
registration and bring its benefits to the field..
9
10
10
11
11
12
12
13
1.SCOPE
The goal of this project is to use blockchain technology to create a new and improved system for
registering and transferring property. This will be done by creating a smart contract on the
Ethereum blockchain that includes all the necessary rules and regulations for property
registration. A decentralized application (DAPP) will also be developed using Flutter, which will
allow users to add and verify properties, store documents, and make buying and selling requests.
The DAPP will also facilitate payment transfers and ownership transfers once all conditions are
met.
The goal of this project is to replace existing property registration systems with the help of
completely online and decentralized blockchain based property registration system. Hence Scope
includes the following functionalities-
1. Developing a backend with smart contracts written in it incorporating all the rules and
regulation of a property registration and transfer mechanism. This smart contract would be
written in solidity programming language over an Ethereum blockchain.
6. SPECIFIC REQUIREMENTS
Smart Contract – This is the core of the project, written in a programming language called Solidity. It
contains all the rules and regulations for property transactions and can program conditional transactions.
Smart contracts are executed using the Ethereum blockchain.
Decentralized Application or DApp – This is a key component that allows users to interact with the
blockchain. DApps are not part of the blockchain itself but provide user interfaces for buyers, sellers,
notaries and land registries.
IPFS – As sensitive personal information is involved, the Interplanetary File storage system will be used to
store data. IPFS is a decentralized file storage system that provides high throughput, data distribution and
low latency.
1. MetaMask-
13
14
A software cryptocurrency wallet which is used to interact with Ethereum blockchain. It allows
user to access their Ethereum wallet through a browser extension which is used to interact with
DAPP.
2. Ropstan Testnet-
Before launching the smart contract on the mainnet developer tests smart contracts in
production like environment called as Testnet. Ropstan Testnet is a proof of work testnet. This
means its best like for like representation of Ethereum.
3. Truffle suite-
To test the working of the smart contract, deployment of a contract and management of
blockchain transactions truffle suite is to be used. It comes with smart contract compilation and
deployment environment and asset pipeline for Ethereum testing of contract becomes easy. The
built in blockchain explorer Ganache examines all the blocks and transactions to gain the
insight of what’s happening under the hood.
14
15
15
16
1. GOALS
The main goal of the project was to build a solution which consisted of a decentralized application.
The complete setup should serve the following purpose:
1. Provide an interface for the user to buy/sell their properties.
2. Provide an interface for the land inspector to verify the transactions involved in
property dealing and transfer the land ownership.
3. User should be able to carry out the deals easily and in transparent
manner.
4. Solution should be able to handle multiple users.
5. Generate a digitally verified ownership transfer document.
Technological Goals:
Write a Smart contract 1 Incorporate all the rules and regulations in form of a
smart contract
Develop front end UI 3 Develop a interface for the application
16
17
Documentation Leader
17
18
1. IMPLEMENTATION
1. Flutter
2. Smart Contract
3. Truffle
4. MetaMask
5. web3.js
Flutter is an open-source cross-platform SDK developed by Google for creating applications for
Android, iOS, and web platforms using a single codebase. The front-end of the property
registration system was developed using Flutter, which allows users to login as a user, land
inspector, or contract owner. The contract owner can add land inspectors and view them on the
dashboard. Land inspectors can verify user information, verify land details, and transfer
ownership. Users can add lands, view land details, and send/receive land requests. Truffle IDE was
used to set up the DAPP.
Smart Contract A smart contract is a code that is stored on the blockchain and
can be used to execute specific instructions or rules based on pre-defined
conditions. It allows for the automation of certain processes and the embedding
of business logic directly onto the blockchain. In the case of this project, a smart
contract has been developed to serve as the backend of the property registration
system. This smart contract contains all the necessary rules and regulations for
the secure and efficient transfer of property registration. Smart contracts are a
powerful feature of blockchain technology, but their use requires careful
consideration of access and security, and different types of blockchains may be
more suitable for different use cases
MetaMask - MetaMask is a software cryptocurrency wallet used to interact with the Ethereum
blockchain. It allows users to access their Ethereum wallet through a browser extension or
mobile app, which can then be used to interact with decentralized applications.
web3.js - Web3.js talks to The Ethereum Blockchain with JSON RPC, which stands for
"Remote Procedure Call" protocol. Ethereum is a peer-to-peer network of nodes that stores a
copy of all the data and code on the blockchain. Web3.js allows us to make requests to an
individual Ethereum node with JSON RPC in order to read and write data to the network. It's
kind of like using jQuery with a JSON API to read and write data with a web server.
18
19
Flow Diagram –
19
20
Project Flow -
3.1
● User logs in by entering his private key or connecting his MetaMask wallet.
● If user is logged in for first time, then they have to enter all his details and upload their
identity document,
● For storing documents, we have used IPFS based on File Coin.
● After successful login, user can now move to his dashboard.
● As of now, the user is not yet verified and only the land inspector can verify him.
● For this, the contract owner will first add the land inspector.
● After land inspector is added, he can log into his account.
● Land inspector can view the registered users. He can view the documents and verify
the users.
● Now the users are verified.
● Users can now add their lands. They can add all the details of land, land document and
user can also draw their land on map as we can see below image.
● After land adding, only the Land inspector can verify it.
● After land has been verified by the land inspector, user i.e. owner of that land can make it
on sell.
● Once it is on sale, all other users can see all the lands in the land Gallery option. Here
they can see all land details, area on the map and can send request to buy the land.
● Owner of land can see all received requests and can reject or accept the request.
● After the land owner accepts the request, user who has sent the request can make
payment from his account to buy the land.
● Finally, the land inspector can see all the payments done and will verify the payment and
then transfer the ownership. While transferring land, land seller, buyer and one witness
has to be present. Land inspector will capture their photo, will take information from the
witness and then transfer the land.
● After transferring land, app will create digitally signed document and it will be
automatically uploaded to the database.
● Then seller can see the bought land in my land option.
20
21
Truffle - Truffle is an integrated development environment (IDE) that is used for testing and
developing decentralized applications, similar to the one we have created for our project. While
it's possible to manually write and compile Solidity code for small projects, it becomes
increasingly difficult as the project grows larger. This is where Truffle comes in handy, as it
provides an automatic way of developing smart contracts. Testing Solidity code is also critical to
avoid any issues caused by a bug in the smart contract. Truffle is one of several frameworks
available for this purpose, and is known as the "Swiss Knife" of Ethereum development due to its
versatility as a development environment, testing framework, and asset pipeline. For our project,
we used Truffle for both deployment and testing purposes
Ganache - Ganache is a software tool that simulates the Ethereum network, making it faster,
easier, and safer to develop Ethereum applications. Ganache includes a wide range of popular
RPC functions and features, such as events, and can be run deterministically to streamline
development. For testing purposes, we utilized Ganache to create a local blockchain. We were
able to deploy our smart contract and carry out transactions, all while running as many tests as
needed.
21
22
22
23
3. RESULTS
Login Page - On the front screen, one can login as a user, land inspector, or contract owner.
The contract owner can add a land inspector and see all the added land inspectors. The land
inspector’s dashboard consists of the functionality to verify user, verify land and transfer
ownership. If we login as the user, we have the options of adding lands, land details, seeing all
lands, sending and receiving land requests.
Working - First user adds his land details which are verified by the land inspector. To buy or
sell land, user must send a request to land inspector. After the request has been
23
24
accepted by land inspector the users can make the transactions. The transaction is verified by the
land inspector. After the transaction is verified, the ownership is transferred.
24
28
4. CHALLENGES
There are certain limitations with using blockchain technology for property registration -
● There must be a clear legal basis for enforcement of agreements made while setting
up the blockchain.
5. FUTURE SCOPE
Blockchain technology is a revolutionary concept that is being applied in various critical areas
where security is of utmost importance. As it continues to evolve, we must strive to leverage its
potential to the fullest. While the current solution for cloud storage offers basic functionalities,
there is significant room for improvement and the potential to provide more advanced features.
Hosting the DAPP on a cloud platform- To handle the increasing number of users in real-
time, we plan to scale our application by hosting it on a cloud platform like AWS.
Collaboration with government agencies- In the final phase of our project, we plan to
collaborate with the government to test our DAPP and gather real-world feedback. This will help
us evaluate the effectiveness of our solution in real-time and make any necessary improvements
to ensure that it meets the requirements of government regulations and standards
6. UML Diagram
28
29
29
30
Project closing
Final Review:
Performing a final evaluation of the project to confirm that all project
specifications have been satisfied, and that the project deliverables are comprehensive. Checking
that the smart contract code has undergone exhaustive testing and validation.
Stakeholder Acceptance:
To formally close the project, it is important to obtain the stakeholders'
approval that the project has been completed successfully. This involves verifying that all
requirements have been met and project deliverables are complete. Additionally, it is crucial to
ensure that the smart contract code has been thoroughly tested and validated. Once all of these
criteria are met, the stakeholders can provide formal acceptance and confirm their satisfaction with
the app's functionality and user experience.
Transfer Deliverables:
To transfer the application and all relevant documentation to the
stakeholders or organization, it is important to ensure that the application is properly configured
and deployed on the appropriate blockchain network. This involves preparing the necessary files
and data to be transferred, including the smart contract code, user interface, and any related
documentation. Once the files are prepared, they can be securely transferred to the stakeholders or
organization. It is also important to provide any necessary support and training to ensure that the
stakeholders are able to effectively use and maintain the application
Archiving:
Ensure that all project documentation, including the smart contract code, user manuals,
and technical specifications, are properly archived. It is important to store the documentation
securely and ensure that it can be easily accessed by stakeholders or the organization in the future..
CONCLUSION
The traditional property registration system has been found to have several shortcomings,
prompting researchers to address various issues such as record tampering, property misuse, and
poor financial management practices. In this context, the current study proposes a solution that can
enhance transparency and establish a reliable property registration system using blockchain
technology. The proposed infrastructure offers numerous features that can benefit stakeholders
involved in property transactions, including ensuring record integrity, transparency, and trust
30
31
31
32
Progress Report
1. Progress Identification
Co-Supervisor
Name: Arslan Anjum
Designation: N/A
32
33
Success Condition User is able to register himself,add property,other users are able to see
all properties,land inspector is able to transfer the
ownership of properties
Failed Condition User not able to access data
Methodology
Concisely list down the principle milestones and associated deliverables that must be achieved in order
to accomplish the project objectives.
33
34
7. Inclusion of map It will allow buyer to locate the land March 100
which he wants to buy
8. Documentation Complete Documentation April 90
9. May 0
10. June 0
11. July 0
12. August 0
34
35
REFERENCES
35