Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Tokenizing property with Brickchain — secure ownership, private verification, and seamless transfer of real estate as digital assets.

Notifications You must be signed in to change notification settings

Recursion-Labs/brickchain-draft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🏠 BrickChain - Property Trading as Simple as Sending Crypto

Built during the MLH Midnight Hackathon - Transforming real estate with privacy-first blockchain technology


🛠️ Tech Stack

TypeScript Midnight Compact Docker Node.js Vitest


🔍 Vision

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.


🌟 Midnight Integration

Core Features Powered by Midnight:

🔐 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


📊 System Flow

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]
Loading

Process Steps:

  1. Property Registration → Document hash stored on-chain
  2. Tokenization → Smart contract mints fractional tokens
  3. Trading → Shielded transactions for private transfers
  4. Verification → ZK proofs for ownership confirmation

🏗️ Architecture

  • 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

📚 Documentation

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.

🚀 Execution & Results

Contract Compilation & Testing

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:

Test Case Summary

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

👨‍💻 Team Members

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

📄 License

Apache-2.0 License


Built with ❤️ by Team Recursion
MLH Midnight Hackathon 2025

About

Tokenizing property with Brickchain — secure ownership, private verification, and seamless transfer of real estate as digital assets.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •