Built during the MLH Midnight Hackathon - Transforming real estate with privacy-first blockchain technology
Real estate trading is slow, paperwork-heavy, and full of intermediaries. BrickChain makes property trading as simple as sending cryptocurrency:
- Tokenize properties into fractional digital assets
- Enable private, seamless ownership transfers
- Ensure secure, verifiable proofs using zero-knowledge cryptography
With Midnight's privacy features, we create a compliant yet private foundation for global property markets.
🔐 Zero-Knowledge Proofs Property owners prove ownership without revealing sensitive documents
🛡️ Shielded Transactions Property fractions traded privately - balances remain confidential
📋 Selective Disclosure Show regulators only relevant proofs without exposing entire portfolio
flowchart TD
A[Property Document] --> B[Hash Generation]
B --> C[Smart Contract Registration]
C --> D[Token Minting]
D --> E[Fractional Ownership]
E --> F[Shielded Transfer]
F --> G[ZK Proof Generation]
G --> H[Ownership Verification]
- Property Registration → Document hash stored on-chain
- Tokenization → Smart contract mints fractional tokens
- Trading → Shielded transactions for private transfers
- Verification → ZK proofs for ownership confirmation
- Contracts: Compact smart contracts for tokenization and property management
- CLI: Command-line interface for deployment and testing
- App: Frontend application for user interactions
- Docker: Containerized services for easy deployment
We have comprehensive documentation to help you get started and build on BrickChain.
| Document | Description |
|---|---|
| Quick Start Guide | A guide for hackathon participants to get a simple version of the DApp running as quickly as possible. |
| Development Setup Guide | A more detailed guide on how to set up your development environment for building on BrickChain. |
| CLI Usage Guide | A comprehensive guide to the BrickChain CLI, with details on every command. |
| Smart Contracts | A deep dive into the smart contract architecture, features, and functions. |
| Architecture | An overview of the system's architecture, components, and data flow. |
| Deployment Guide | A guide for deploying BrickChain to local, testnet, and production environments. |
The smart contracts compile successfully, and all 15 tests pass, ensuring the on-chain logic is robust and reliable.
> @midnight-ntwrk/[email protected] test:compile
> npm run compact && vitest run
> @midnight-ntwrk/[email protected] compact
> compact compile src/main.compact managed/main
RUN v3.2.4 /home/atharnex/github-uwu/brickchain/contracts
✓ tests/main.test.ts (15 tests) 275ms
Test Files 1 passed (1)
Tests 15 passed (15)
Start at 08:59:56
Duration 845ms (transform 208ms, setup 0ms, collect 299ms, tests 275ms, environment 0ms, prepare 76ms)
Compiling 10 circuits:
Our comprehensive test suite covers the following scenarios:
-
Token Operations:
- Mints tokens correctly
- Transfers tokens correctly
- Burns tokens correctly
- Pauses and unpauses the token
- Fails to mint when paused
- Fails to transfer with insufficient balance
-
Property Operations:
- Registers a property correctly
- Tokenizes a registered property
- Transfers ownership
- Deactivates a property
-
Validation Checks:
- Fails to mint a zero amount
- Fails to burn a zero amount
- Fails to tokenize an unregistered property
- Fails to re-register a property
- Initializes correctly
| Role | Name | GitHub Profile |
|---|---|---|
| Lead | Md Athar Jamal Makki | @atharhive |
| Frontend | Akshad Jogi | @akshad-exe |
| Smart Contract Dev | Ayush Sarkar | @dev-Ninjaa |
| Backend | Samarth Mahapatra | @samarth3301 |
Apache-2.0 License
MLH Midnight Hackathon 2025