Skip to content

yashjadhav1595-projects/FractionRealmRise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

44 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿข FractionRealmRise

Decentralized Real Estate Investment Platform on Aptos Blockchain

Transform real estate investment through blockchain-powered fractional ownership. Buy, sell, and trade property fractions with complete transparency and liquidity.

v2 rebuild: Spec in REBUILD_BLUEPRINT.md. Scaffold: packages/* (shared, chain-client, indexer, contracts), docs/, npm run typecheck:packages.

image image image image image

Next.js Aptos TypeScript Move

๐ŸŒŸ Features

๐Ÿ  Property Tokenization

  • 1000 Token Standard: Each property minted as 1,000 fungible tokens
  • Instant Liquidity: Trade fractions on integrated marketplace
  • Real-time Valuation: Dynamic pricing based on market demand
  • Yield Distribution: Proportional rent distribution to token holders

๐Ÿ’ผ Investment Platform

  • Fractional Ownership: Invest with as little as 1 token
  • Portfolio Management: Track all investments in one dashboard
  • Rental Income: Automated yield claiming system
  • Diversification: Own fractions across multiple properties

๐Ÿช Marketplace

  • Order Book System: Professional buy/sell order matching
  • Atomic Swaps: Direct token exchanges between properties
  • Real-time Listings: Live property availability
  • Price Discovery: Market-driven valuation

๐Ÿ—บ๏ธ Interactive Experience

  • 3D Property Tours: Immersive 360ยฐ interior views
  • Mapbox Integration: Interactive property location mapping
  • Property Details: Comprehensive information on every asset
  • Real-time Updates: Live data from blockchain

๐Ÿš€ Tech Stack

Frontend

  • Framework: Next.js 15.5.6 (React 18.3)
  • Styling: TailwindCSS + Framer Motion
  • 3D Graphics: React Three Fiber + Three.js
  • Maps: Mapbox GL + React Map GL
  • UI Components: Radix UI + Lucide Icons

Blockchain

  • Platform: Aptos Blockchain
  • Smart Contracts: Move Language
  • Wallet: Petra Wallet Integration
  • SDK: @aptos-labs/ts-sdk 1.8.4

Smart Contracts

  • FractionRealm.move: Legacy fraction-based system
  • PropertyToken.move: Advanced fungible asset tokenization with order book

Additional Integrations

  • Photon: Rewards and gamification system
  • Shelby Protocol: Decentralized storage
  • TypeScript: End-to-end type safety

๐Ÿ“ฆ Installation

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Aptos CLI
  • Petra Wallet

Clone Repository

git clone https://github.com/yourusername/FractionRealmRise.git
cd FractionRealmRise

Install Dependencies

npm install

Setup Environment

Create .env.local in the root directory:

# Aptos Configuration
NEXT_PUBLIC_APTOS_NETWORK=localnet
NEXT_PUBLIC_APTOS_NODE_URL=http://localhost:8080/v1
NEXT_PUBLIC_MODULE_ADDRESS=0x24749f99a6fd99b27379477b6a9527c155fe9e4a694a9cd433b7039f59bf8f16

# Optional: Mapbox (for maps)
NEXT_PUBLIC_MAPBOX_TOKEN=your_mapbox_token

# Optional: Database
DATABASE_URL=your_database_url

Deploy Smart Contracts

Start Localnet

aptos node run-local-testnet

Deploy Contracts

cd move
aptos move publish --profile default --named-addresses fraction_realm=default --assume-yes

Fund Your Wallet

aptos account fund-with-faucet --account YOUR_ADDRESS --amount 100000000000 --faucet-url http://127.0.0.1:8081

Start Development Server

npm run dev

Visit http://localhost:3000

๐ŸŽฎ Usage

For Investors

  1. Connect Wallet

    • Install Petra Wallet
    • Configure for Localnet/Testnet
    • Connect to FractionRealmRise
  2. Browse Properties

    • Explore available properties on map
    • View 3D tours and details
    • Check yield and pricing
  3. Invest

    • Click "Invest Now"
    • Enter number of fractions
    • Approve transaction in Petra
  4. Manage Portfolio

    • View all investments in Dashboard
    • Claim rental yields
    • Track performance

For Property Owners

  1. Tokenize Property

    • Go to /tokenize
    • Fill property details
    • Mint 1,000 tokens
    • List on marketplace
  2. Manage Listings

    • Create sell orders
    • Set prices
    • Monitor trades

๐Ÿ—๏ธ Smart Contract Architecture

FractionRealm Module

// Core functions
initialize_property()  // Create new property
buy_fraction()        // Purchase fractions
claim_rent()          // Collect rental income
list_for_sale()       // Create marketplace listing
create_swap_offer()   // Propose token swap

PropertyToken Module

// Advanced tokenization
create_property_token()  // Mint fungible asset
create_buy_order()      // Place buy order
create_sell_order()     // Place sell order
fill_order()            // Match orders
create_swap_offer()     // Token swap
update_property_value() // Price updates

๐Ÿ“ Project Structure

FractionRealmRise/
โ”œโ”€โ”€ app/                    # Next.js app directory
โ”‚   โ”œโ”€โ”€ page.tsx           # Landing page
โ”‚   โ”œโ”€โ”€ dashboard/         # User dashboard
โ”‚   โ”œโ”€โ”€ marketplace/       # Marketplace UI
โ”‚   โ”œโ”€โ”€ tokenize/          # Property tokenization
โ”‚   โ”œโ”€โ”€ property/[id]/     # Property details
โ”‚   โ””โ”€โ”€ api/               # API routes
โ”œโ”€โ”€ components/            # React components
โ”‚   โ”œโ”€โ”€ 3d/               # 3D viewers
โ”‚   โ”œโ”€โ”€ dashboard/        # Dashboard components
โ”‚   โ”œโ”€โ”€ marketplace/      # Marketplace UI
โ”‚   โ”œโ”€โ”€ property/         # Property components
โ”‚   โ””โ”€โ”€ ui/               # Reusable UI
โ”œโ”€โ”€ lib/                  # Utilities
โ”‚   โ”œโ”€โ”€ aptos/           # Blockchain SDK
โ”‚   โ”œโ”€โ”€ integrations/    # Third-party APIs
โ”‚   โ””โ”€โ”€ utils/           # Helper functions
โ”œโ”€โ”€ move/                # Smart contracts
โ”‚   โ””โ”€โ”€ sources/
โ”‚       โ”œโ”€โ”€ FractionRealm.move
โ”‚       โ””โ”€โ”€ PropertyToken.move
โ”œโ”€โ”€ contexts/            # React contexts
โ”œโ”€โ”€ hooks/               # Custom hooks
โ””โ”€โ”€ types/               # TypeScript types

๐Ÿ”— Key Features Deep Dive

Property Tokenization

Each property is tokenized into exactly 1,000 fungible tokens, enabling:

  • Fractional ownership down to 0.001%
  • Liquid secondary markets
  • Proportional yield distribution
  • Easy portfolio diversification

Order Book Trading

Professional-grade trading infrastructure:

  • Buy Orders: Place bids with price limits
  • Sell Orders: List tokens at desired prices
  • Order Matching: Automatic execution
  • Price Discovery: Market-driven valuation

Atomic Swaps

Trustless token exchanges:

  • Swap tokens between different properties
  • No intermediary required
  • Instant settlement
  • Fair exchange guaranteed by smart contracts

๐Ÿ› ๏ธ Development

Run Tests

npm test

Build for Production

npm run build
npm start

Lint Code

npm run lint

Move Contract Testing

cd move
aptos move test

๐Ÿ“š Documentation

๐Ÿ› Troubleshooting

Common Issues

"Module not found"

  • Deploy contracts first
  • Check module address in .env.local
  • Verify network configuration

"Insufficient balance"

  • Fund wallet using faucet
  • Check you're on correct network

Petra not connecting

  • Verify network settings in Petra
  • Try disconnect/reconnect
  • Check localnet is running

See Troubleshooting Guide for more.

๐Ÿค Contributing

We welcome contributions! Please:

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/AmazingFeature)
  3. Commit changes (git commit -m 'Add AmazingFeature')
  4. Push to branch (git push origin feature/AmazingFeature)
  5. Open Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see LICENSE file for details.

๐Ÿ™ Acknowledgments

  • Aptos Labs - Blockchain platform
  • Move Language - Smart contract development
  • Next.js Team - Web framework
  • Mapbox - Mapping services
  • Three.js - 3D graphics

๐Ÿš€ Roadmap

  • Property tokenization (1000 tokens)
  • Marketplace with order book
  • Atomic swaps
  • Portfolio dashboard
  • 3D property tours
  • Mobile app
  • Multi-chain support
  • Real property onboarding
  • KYC/AML integration
  • Governance token

Built with โค๏ธ on Aptos Blockchain

Democratizing real estate investment, one fraction at a time.

About

Real Estate Tokenization Platform, like we trade shares of companies, same thing goes for commerical properties !

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages