Real Estate Asset Identity and Acquisition using Blockchain's Smart Contracts - A case study for the sector in Nigeria
# BlockDeed: Blockchain-Based Real Estate Asset Identity and Acquisition System
This Hardhat project is part of a Master's thesis on implementing blockchain technology for real estate transactions in Nigeria. It contains smart contracts, tests, and deployment scripts for a system designed to enhance transparency, reduce fraud, and streamline property transactions.
## Project Structure
- `/contracts`: Contains Solidity smart contracts
- `NigeriaGovernment.sol`: Main contract for property registration and government oversight
- `Property.sol`: Contract representing individual properties
- `NGNToken.sol`: ERC20 token contract for transaction payments
- `/scripts`: Deployment and interaction scripts
- `/test`: Unit and integration tests for smart contracts
## Setup and Running
1. Clone the repository
2. Install dependencies: `npm install`
3. Compile contracts: `npx hardhat compile`
4. Run tests: `npx hardhat test`
5. Deploy to local network: `npx hardhat run scripts/deploy.js`
## Key Commands
```shell
npx hardhat help
npx hardhat test
REPORT_GAS=true npx hardhat test
npx hardhat node
npx hardhat ignition deploy ./ignition/modules/Lock.ts
```
## Test Deployment
The contracts are deployed on the Sepolia testnet:
- NGNToken: `0xBcccFFe91e3e9fC289ce6179A8BBF4b351579233`
- NigeriaGovernment: `0x02f5F8b77aaEd3C3D96425C29058c1aefC8d3eE2`
- SampleProperty1: `0xAaa6c2C33a9A35b26746f8561cF8DfD6541DdEe7`
## Author
Rikome S. EREZI
## License
This project is licensed under the MIT License.