Land Registry is a simple frontend connected with ethereum via smart contract for registering Real esate property.
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
- Solidity
- Truffle
- Ganache
- Vuejs
- Metamask
- Web3js
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
Metamask integration for the account system.
ERC721 function implementation like:
- Land Balance
- Land Owner
- Land Transfer
- Land Approval
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.
- 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