Blockchain-based Rental Documentation Management with Audit Support

João Felipe Santos, Miguel Correia, Tiago R. Dias

Abstract

Document management in the rental market is a critical process to ensure the accuracy of financial transactions and regulatory compliance. In Portugal, challenges include the complexity of legislation (particularly GDPR non-compliance), lack of transparency, and bureaucratic inefficiency. This paper presents a solution based on Hyperledger Fabric, a permissioned blockchain platform, for implementing a document management system for the rental process. The system oversees three phases: application, selection, and audit. By recording document metadata (hashes) on-chain while storing files off-chain, the system creates immutable and traceable records, serving as a foundation for secure future audits.

Introduction

The real estate rental market is often plagued by "sluggishness" due to complex legislation and a heavy reliance on manual, paper-based bureaucracy. Current auditing and due diligence processes require manual validation of financial statements and property records to prevent fraud, which is both time-consuming and prone to error. Furthermore, the sensitive nature of personal documents like income statements and IDs leads to significant privacy risks when shared through traditional, unencrypted channels.

To address these issues, we propose the Blockchain-Based Documentation Management (BDM) architecture. This system aims to replace fragmented manual workflows with a decentralized architecture that provides a "single source of truth" for landlords, tenants, and auditors, ensuring regulatory compliance and protecting tenant privacy.

Methodology and System Design

The BDM architecture is built on Hyperledger Fabric, a permissioned blockchain framework. Unlike public blockchains, it allows for private channels and managed identities, which are essential for corporate and legal environments where data privacy is paramount.

Hybrid Storage Strategy

To maintain system performance, the BDM does not store actual PDF documents on the blockchain. Instead, it employs a hybrid strategy: files are stored in Google Cloud File Storage, while only the cryptographic hashes (digital fingerprints) and ownership metadata are recorded on the ledger. This ensures document integrity without bloating the blockchain.

The BDM system architecture, illustrating the integration between user interfaces, the permissioned blockchain, and cloud storage.

Network Topology

The system is organized into a decentralized network of peers and orderers. This structure supports multiple organizations, allowing for a robust and resilient infrastructure that can be shared across different stakeholders in the real estate market.

Hyperledger Fabric network topology, showing the organizational structure and communication channels.

Ricardian Contracts

The system also utilizes Ricardian contracts—digital agreements that link human-readable legal text to executable code. This ensures that the legal intent of a rental agreement is cryptographically bound to the actions performed on the platform.

Three-Phase Workflow

The system coordinates the rental process through three distinct phases:

  1. Application: Prospective tenants upload necessary documents. The system generates hashes and records them on the blockchain.
  2. Selection: Landlords review applications. Crucially, the system implements a "consent on request" model where tenants must explicitly grant a permission "key" on the blockchain before a landlord can view their documents.
  3. Audit: Authorized auditors can request a report for a property. The system uses the blockchain’s history to generate a comprehensive log of every event that occurred during the rental process.

Performance Evaluation

The system's performance was evaluated using a simulated environment on a local Kubernetes cluster. Apache JMeter was used to stress-test the system with varying loads of concurrent requests (ranging from 50 to 1,000) to measure latency and throughput.

Key Results

  • Scalability: The system handled up to 500 concurrent requests with a 0% error rate.
  • Throughput vs. Latency: As expected, latency increased and throughput decreased with higher concurrent loads. The createProposal function was the slowest, likely due to the complexity of the smart contract logic.
  • Operational Limits: At 1,000 concurrent requests, the system struggled, particularly with the createDocument function, which saw an 80% error rate as it exhausted system resources (CPU/RAM).
  • Efficiency: Simpler functions like acceptAccess and acceptProposal maintained high throughput even under heavy load, suggesting the core "handshake" of the rental process is highly efficient.

Discussion

A standout feature of the BDM system is its integrity verification. When a landlord accesses a file, the system automatically re-hashes the file from cloud storage and compares it to the hash on the blockchain. If they do not match, the document is flagged as tampered with. Furthermore, the "audit-first" design ensures that the entire lifecycle of a property rental—from the first application to the final signature—is immutable and easily accessible to authorized parties.

Conclusion and Future Work

The proposed BDM system demonstrates the potential of blockchain to streamline the real estate rental process while ensuring GDPR compliance and document integrity. While the current implementation faces resource constraints at very high scales, future work will focus on deploying the system on more robust infrastructure and integrating machine learning modules to automatically flag anomalies in stored documents, further reducing the manual burden on auditors.

Summary updated

Abstract

In the rental market, document management is a critical process to ensure the accuracy of financial transactions and regulatory compliance. In Portugal and many other countries, challenges include the complexity of legislation, particularly GDPR compliance, lack of transparency, and bureaucratic inefficiencies. With this in mind, a solution based on Hyperledger Fabric, a blockchain platform, is presented for the implementation of a document management system for the rental process that supports auditing. This system oversees the rental process. We present the system, a prototype, and an experimental evaluation.
BibTeX
@misc{santos2024blockchain,
  author = {João Felipe Santos and Miguel Correia and Tiago R. Dias},
  title = {{Blockchain-based Rental Documentation Management with Audit Support}},
  year = {2024},
  eprint = {2402.06704},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.06704},
}
Figure