-
Step 1 of 7Roles
An admin for each area
The account that deploys the contract is the super admin. Land admins are added for a state, district and city, and only an admin can register land.
-
Step 2 of 7Register
Register a plot
registerLand stores a plot under its state, district, city and survey number, with its owner, property ID, market value and size. The contract rejects the call unless it comes from an admin.
-
Step 3 of 7Sell
The owner lists it for sale
Owners see the plots they hold in their profile. Marking one as available is a transaction from the owner's own wallet, through MetaMask.
-
Step 4 of 7Buy
A buyer sends a request
Anyone can look a plot up. If it's marked for sale, a buyer can send a purchase request, which the contract records on the plot and in the buyer's own list.
-
Step 5 of 7Edge case
The owner accepts, ownership moves
When the owner accepts a request, the contract adds the seller to the plot's previous owners, clears every pending request, takes the plot off sale and moves it into the buyer's holdings, all in one transaction.
-
Step 6 of 7Audit
A history anyone can read
Each plot's chain of previous owners can be read straight from the contract. Because it lives on the blockchain, no single office can rewrite it.
-
Step 7 of 7Recap
From thesis to paper
A React front end talks to the contract through MetaMask, with Truffle and Ganache for local development. The framework was published in Land Use Policy (2024) and won 1st Runner-Up at CSE Fest 2024.
Tip: the ← and → keys work too.