Skip to content
BRICKBYBRICK

BRICKBYBRICK

Ai based Property NFTS and blockchains

Created on 4th May 2025

BRICKBYBRICK

BRICKBYBRICK

Ai based Property NFTS and blockchains

The problem BRICKBYBRICK solves

ai based micro real estate marketplace using blockchain,

Phase 1: Seller-Centric Approach
Phase 2: Buyer/Investor-Centric Approach
Traditional property investment is reserved for the
wealthy— Small investors are left out.
No dynamic real-time pricing or easy exit options available.
Complex legal and management structures discourage participation.

Challenges we ran into

When users connected their wallet and tried to fetch their token balances or property ownership status, the UI would either not update in real-time or display incorrect data due to asynchronous issues in fetching smart contract state. This was especially problematic when users bought tokens—transactions succeeded on-chain, but the UI didn’t reflect the update immediately.

🔍 Root Cause:
We discovered that:

We were not properly listening to blockchain events (like Transfer or Mint) emitted by the smart contracts.

Our component state was not refreshing after the transaction was confirmed, because we only fetched data on initial load.

✅ The Solution:
We used ethers.js to subscribe to smart contract events (e.g., contract.on("Transfer", ...)) to detect changes in real-time.

We also implemented a polling mechanism as a fallback to refresh token balances and ownership data after transactions.

After updating our state management logic with useEffect and useState properly scoped to blockchain events, the UI began to reflect live on-chain updates accurately.

🎉 Outcome:
These fixes led to a smooth, real-time user experience, ensuring that ownership updates and balances reflected instantly after user actions.

Tracks Applied (2)

Ethereum Track

🧩 How BRICKBYTE Fits into ETHIndia: Ethereum Track BRICKBYTE is built entirely on the Ethereum ecosystem, leveraging Et...Read More
ETHIndia

ETHIndia

Duality AI Track

🤖 How BRICKBYTE Fits into Duality: Duality AI Track BRICKBYTE integrates a custom-built AI assistant that personalizes ...Read More
Duality

Duality

Discussion

Builders also viewed

See more projects on Devfolio