PropSpaceX Property Service
Real-estate management microservice — geospatial search on MongoDB, a property lifecycle state machine, and decentralized ownership verification through Ethereum smart contracts.
System Architecture
Listing changes run through a lifecycle state machine. Legal documents pass the verifier, ownership is proven against Ethereum smart contracts, and the result — including the 2dsphere-indexed location — is persisted to MongoDB.
Database Design
Every property carries its documents and an immutable chain of ownership records tied to wallet addresses and transaction hashes.
Engineering Challenges
Geospatial search
MongoDB 2dsphere indexes power radius and polygon searches over listings without a separate search service.
Document verification
OCR and validation pipeline for legal property documents, with fraud-pattern checks before approval.
Lifecycle state machine
Listing → pending → sold transitions are guarded server-side so no property skips required verification steps.
On-chain ownership
Smart-contract integration proves ownership on Ethereum and records tokenized transfers immutably.