Property Tycoon
GameFi platform on Mantle. Build property portfolios with RWA NFTs. Earn real yield from tokenized real estate. Trade properties and compete. Compete on leaderboards. Join neighborhoods.
视频
描述
Property Tycoon demo for Mantle Global Hackathon 2025.
This video shows how Property Tycoon links GameFi with real world assets on Mantle Network. You see real blockchain actions from start to finish. You see minting, RWA linking, yield generation, and live updates.
What you see in this demo.
• Wallet connection on Mantle Network with low fees and fast confirmation.
• Property minting as on chain ERC 721 NFTs.
• Isometric city map with player owned properties.
• RWA linking using tokenized real estate assets.
• Yield calculation driven by RWA APY.
• Daily TYCOON token rewards.
• Yield claiming with micro transaction costs.
• Real time level and XP updates without page refresh.
• Live leaderboard and portfolio visits.
• Global chat between players.
Why Property Tycoon matters.
• Game assets represent real ownership.
• Yield comes from real world asset logic.
• All calculations run on chain.
• Transactions stay cheap and fast on Mantle.
• Players learn RWA concepts through gameplay.
Mantle Network integrations shown.
• Mantle Viem for type safe contract calls.
• Chronicle Oracle for MNT to USD pricing with lower gas usage.
• Custom eth_getBlockRange RPC for efficient indexing.
• GasPriceOracle for accurate fee estimation.
• WebSocket updates for real time UI changes.
Project links.
• GitHub https://github.com/HACK3R-CRYPTO/property-tycoon-mantle.git
• Live app https://property-tycoon-mantle.vercel.app/
Tracks.
• RWA and RealFi.
• GameFi and Social.
Watch the demo.
Review the flow.
Check the transactions.
Study the architecture.
Built for Mantle Global Hackathon 2025.
本次黑客松进展
First, we deployed core smart contracts on Mantle Sepolia Testnet. PropertyNFT contract mints ERC-721 property tokens. GameToken contract handles TYCOON token distribution. YieldDistributor contract manages yield calculations and claims. Marketplace contract enables property trading between players. QuestSystem contract tracks quest completion and rewards. Next, we built the backend API with NestJS. PostgreSQL database stores user profiles, properties, quest progress, and leaderboard data. Socket.io integration enables real-time updates. Railway deployment configured for production hosting. Then we created the frontend with Next.js and React. Pixi.js renders isometric 3D city map. Wagmi and Viem handle wallet connections. Tailwind CSS styles the interface. Real-time WebSocket connections update UI without page refreshes. After that, we deployed MockRWA contract for testing. MockRWA implements ERC-721 standard with predefined test properties. Each RWA token has unique value and APY. Property linking connects in-game properties to RWA tokens. We integrated Chronicle Oracle for price feeds. MNT/USD price feed displays USD equivalents throughout the app. Oracle integration uses 60-80% less gas than other oracles. Backend fetches prices every 5 minutes and broadcasts via Socket.io. We implemented RWA linking in YieldDistributor. Contract checks if property is linked to RWA. Uses RWA value and yield rate when linked. Falls back to property base rate if not linked. All calculations happen on-chain and are verifiable. We built a leveling system with XP calculation. XP based on properties owned, yield earned, and portfolio value. Square root progression formula ensures balanced leveling. Levels update automatically when players mint properties or claim yield. We added WebSocket real-time updates. Level and XP update instantly without page refresh. Leaderboard positions shift live as players progress. Portfolio values update in real-time. Yield accumulation shows live on properties. We implemented coordinate generation system. Properties appear on isometric map with unique coordinates. Coordinate grid set to 30x30 for optimal display. Backend generates and regenerates coordinates automatically. We built the guild system. Players create and join guilds. Guild stats track combined portfolio value and yield earned. Guild leaderboard ranks guilds by total portfolio value. Guild stats update automatically when members progress. We implemented the quest system. Five quest types reward players for milestones. First Property rewards 100 TYCOON for first mint. Diversify Portfolio rewards 500 TYCOON for owning 3 property types. Property Mogul rewards 2000 TYCOON for owning 10 properties. RWA Pioneer rewards 1500 TYCOON for linking 5 properties to RWA. We added global chat. Real-time messaging connects all players. Usernames and avatars personalize the experience. Chat updates instantly via WebSocket. We completed marketplace implementation. Frontend loads listings directly from blockchain. getActiveListings function provides source of truth. Backend syncs listings and handles blockchain calls when needed. We fixed property trading flow. Buyers purchase properties from other players. Sellers list properties with fixed prices or auctions. Marketplace validates ownership and transfers NFTs. WebSocket updates listings in real-time. We simplified the landing page. Removed excessive content. Added floating animations. Clean design matches Noodle Quest style. How to Play guide explains game mechanics clearly. We improved map interactions. Pan and zoom work smoothly. Property find button centers map on selected property. Click outside modals closes them. Better visual feedback for all actions. We fixed property rendering. Pixi.js v8 API updates resolved. Graphics visibility ensured in production. Coordinate handling improved. Debug logging added for troubleshooting. We fixed Railway deployment. SSL support added for PostgreSQL connection. BigInt serialization handled properly. Frontend API URL detection improved. Production builds work correctly. We optimized leaderboard sync. Auto-updates when properties change. Verifies yield from YieldDistributor contract. Excludes contract addresses from rankings. Real-time updates via WebSocket. We fixed BigInt serialization errors. All numeric fields converted to strings for JSON. Recursive helper functions handle nested objects. Database schema uses NUMERIC type for large values. Frontend displays values correctly. We fixed guild join/leave flow. Prevents joining multiple guilds. Auto-creates users when needed. Guild stats update from blockchain. BigInt serialization fixed for guild data. We improved yield display. Verifies yield from YieldDistributor contract. Shows accurate totals in leaderboard. Auto-updates when yield is claimed. Handles edge cases properly. We optimized RPC calls. Multi-RPC failover implemented. Reduces single point of failure. Mantle custom RPC methods used for efficiency. eth_getBlockRange reduces calls by 90%. Final State All core features working. Property minting, RWA linking, yield claiming all functional. Real-time updates work across all features. Guild system complete with leaderboard. Quest system rewards players on-chain. Marketplace enables property trading. Chronicle Oracle provides price feeds. Mantle integration uses custom RPC methods and GasPriceOracle. Production ready. Contracts deployed and verified on Mantle Sepolia. Backend hosted on Railway. Frontend deployed on Vercel. All features tested and working. Documentation complete. Key Metrics 7 smart contracts deployed. PropertyNFT, GameToken, YieldDistributor, Marketplace, QuestSystem, TokenSwap, MockRWA. 5 major features implemented. Property management, RWA integration, guild system, quest system, marketplace. 4 Mantle integrations. Mantle Viem for type-safe contracts, Chronicle Oracle for price feeds, custom RPC methods for efficiency, GasPriceOracle for optimization. Real-time updates across 6 systems. Portfolio values, yield accumulation, leaderboard rankings, guild stats, quest progress, chat messages. Production deployment on 3 platforms. Smart contracts on Mantle Sepolia, backend on Railway, frontend on Vercel.