Skip to content

hashgraph/hedera-accelerator-rwa-defi-fe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

140 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ™οΈ Hedera RWA DeFi Accelerator – Frontend

Welcome to the frontend of the Hedera RWA DeFi Accelerator – a reference dApp for building, managing, and interacting with tokenized real estate assets on Web3. This is the user interface layer for a modular REIT system that models real estate as on-chain assets, designed with composability, investor accessibility, and DeFi integration in mind.

Powered by Hedera's Asset Tokenization Studio.

πŸ’‘ This project is a reference architecture for tokenizing real-world assets (RWAs) on Hedera. It is not intended to run on mainnet or represent real financial instruments.


Buildings


Demo

See a demo of current functionality and workflow here:
Watch the video

πŸ“¦ Features

This frontend is structured around the idea that each building is a unique NFT-backed identity, with attached metadata, tokenized ownership, and integrated DeFi flows.

βœ… Core Building Blocks

  • 🧱 Building NFTs (ERC-721 + Metadata)

    • Unique NFT for each property with IPFS-backed metadata
    • Editable and freezable attributes (e.g. year built, COPE data)
  • πŸ’Έ Tokenized Ownership (ERC-1400 & ERC-3643)

    • Regulated fungible tokens for shareholding
    • Geo and cap-based transfer restrictions
  • πŸ’° Vaults (ERC-4626 & ERC-7540) – Stake building token

    • Real yield and streaming revenue distribution
    • Async vaults for smoother high-volume DeFi integrations
  • πŸ” Autocompounders

    • Automatic reinvestment of yield
    • Growth of token holdings without manual claiming
  • πŸ›οΈ DAO Governance (tbc)

    • Proposals, voting, and treasury management

    • Multi-role controls for admin, investor, auditor

      Proposals

  • πŸ“ˆ Pricing & Liquidity

    • Add a liquidity pool to each building, and easily swap USDC for regulated building tokens

      Trade

      Liquidity

  • πŸ—οΈ Slices

    • Curated investment baskets (eg. luxury, regional, hi-rise..)

    • Built for diversification and tailored exposure

      Slice


🧭 Directory Overview

The frontend follows a modular structure built on Next.js:

app/                β†’ Page routing
  └── admin/        β†’ Admin tools
  └── building/     β†’ Individual building views, interactions
  └── dash/         β†’ Dashboard and analytics
  └── explorer/     β†’ Browse buildings and slices
  └── slices/       β†’ Slice management
components/         β†’ All reusable UI elements
hooks/              β†’ Web3 data hooks
services/           β†’ IPFS, and contract interaction logic
consts/             β†’ Token, building, slice constants
utils/              β†’ Date helpers

πŸš€ Getting Started

1. Install dependencies

yarn install

2. Configure Environment

Copy .env.example to .env.local and fill in the following:

WALLETCONNECT_ID=
PINATA_API_KEY=
PINATA_API_SECRET=
HEDERA_NETWORK=testnet

You’ll also want your Treasury account, Private key, and Contract addresses (from the backend / deploy scripts).

3. Run the app

yarn dev

πŸ§ͺ Testing

This repository uses Jest for testing:

yarn test

πŸ”“ Connect Wallets

This app supports:

  • MetaMask (for EVM-compatible accounts)
  • HashPack (for native Hedera integration via WalletConnect)

Features like building creation, governance updates and vault deposits are available once authenticated.


πŸ“Š Key Workflows

🏒 Deploy a New Building

  • Mint a building NFT with metadata URI and Building Token

  • Create a vault, treasury and governance

  • Add building to slices

    Building Management View

πŸ“₯ Add Revenue / πŸ“€ Record Expenses

  • Push USDC into building treasury

  • Trigger real-yield distributions via vaults

  • Submit and approve expenses via multisig/DAO

    Payments

πŸ’Έ Trade & Stake

  • Swap building tokens for USDC (AMM)

  • Stake tokens into vaults for streaming rewards

  • Let autocompounders grow your stake over time

    Staking

    Staking


🧠 Architectural Philosophy

This project uses Ethereum-compatible standards like:

  • ERC-721 for unique buildings
  • ERC-1400/ERC-3643 for compliant fungible shares - Powered by Hedera's Asset Tokenization Studio.
  • ERC-4626 and ERC-7540 for flexible DeFi vaults

πŸ› οΈ Dev Resources

Backend Code:

Blog Series on Tokenized Real Estate:

Other Resources:


🀝 Contributing

This is an open-source reference implementation. If you want to contribute:

  • Create components for new building phases (eg insurance)
  • Improve UX
  • Help index building metadata for advanced filtering

PRs are welcome!


⚠️ Disclaimer

This dApp is for demonstration and educational purposes only. It is not a financial product, and no real assets are managed or sold via this platform.

  • No audits have been done on this code base.
  • No warranties.
  • This code is 'in progress', and is intended for demonstration and/or start of your project. you need to do your own QA & Audits before using this.

πŸ’¬ Questions?

Feel free to open an issue or reach out via the Hedera Discord. We’d love your feedback as we shape the RWA stack for Web3.

About

hedera-accelerator-rwa-re-ui

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 10

Languages