โ ํผ๋๋ก
๐๏ธ Building a Tokenization Ecosystem: MyZubster Gateway ร Singapore Real Estate
The Vision
“What if anyone could invest in prime Singapore real estate with just $500, using privacy-first payments, all powered by open-source infrastructure?”
That’s exactly what we built.
Two projects, one ecosystem:
- MyZubster Gateway โ The payment and order infrastructure
- Tokenization Singapore โ The real estate tokenization platform
They work together to create a seamless, private, and inclusive investment ecosystem.
๐ Project Links
๐ข Tokenization Singapore
What We’ve Tokenized
Token Symbol Total Supply Price Status Marina Bay Tower MBFT 8,000 1,000 SGD โ Active Singapore Real Estate SRET 10,000 1,000 SGD โ ActiveReal Results
Metric Value Tokens Minted 18,000 Tokens Sold 2,470 (13.7%) Total Raised 2.47M SGD (โ 1.85M USD) Investors 12 Orders Processed 34 Orders Completed 28 Total Fees Earned 94,500 SGDSmart Contract Features
The SingaporeRealEstateToken is an ERC-20 token with additional features:
- Whitelist: Only accredited investors can buy tokens
- Automatic Price: Fixed price per token (1000 SGD)
- Rent Distribution: SPV can distribute rental income to token holders
- Pausable: Owner can pause transactions in case of emergency
- ReentrancyGuard: Protection against reentrancy attacks
solidity
// Quick overview
contract SingaporeRealEstateToken is ERC20, Ownable, Pausable, ReentrancyGuard {
uint256 public constant TOKEN_PRICE = 1000 * 10**18; // 1 token = 1000 SGD
uint256 public maxSupply;
address public spvAddress;
mapping(address => bool) public accreditedInvestors;
function buyTokens(uint256 amount) external payable whenNotPaused onlyAccredited;
function distributeRent() external onlySPV;
function whitelistInvestor(address investor) external onlyOwner;
}
๐ฏ Why Monero?
Monero was chosen for its unique properties:
Feature Monero PayPal Bank Transfer
Micro-payments (โฌ0.10) โ
โ โ
Privacy โ
โ โ
No bank account needed โ
โ โ
Global access โ
โ โ
Decentralized โ
โ โ
Low fees โ
โ โ
Subaddress support โ
โ โ
Privacy Features
Stealth addresses โ One-time addresses per transaction
RingCT โ Hides transaction amounts
Ring signatures โ Hides which output is being spent
Subaddresses โ Unique addresses per order
๐ API Overview
Authentication
Method Endpoint Description Auth
POST /api/auth/register Register a new user Public
POST /api/auth/login Login and receive JWT Public
GET /api/auth/profile Get user profile JWT
Tokens
Method Endpoint Description Auth
POST /api/tokens Create a new token Admin
GET /api/tokens List all tokens JWT
GET /api/tokens/:id/stats Get token statistics JWT
POST /api/tokens/:id/deploy Deploy smart contract Admin
Orders
Method Endpoint Description Auth
POST /api/orders Create an order JWT
GET /api/orders Get user orders JWT
PUT /api/orders/:id/confirm-payment Confirm payment Admin
PUT /api/orders/:id/complete Complete an order Admin
๐ค Contributing
We have 3 open bounties for contributors:
# Issue Bounty (XMR) Value (โฌ)
#1 Token Balance Endpoint 0.05 XMR โฌ10.00
#2 Email Notifications 0.05 XMR โฌ10.00
#3 P2P Messaging System 0.07 XMR โฌ14.00
How to Contribute
Check open issues for available tasks
Fork the repository
Create a new branch (git checkout -b feature/amazing-feature)
Commit your changes (git commit -m 'Add some amazing feature')
Push to the branch (git push origin feature/amazing-feature)
Open a Pull Request with a clear description
Include your Monero address in the PR for payment
Bounty Program
Type Bounty (XMR) Value (โฌ)
Typo/Link Fix 0.0005 XMR โฌ0.10
Warning/Comment 0.001 XMR โฌ0.20
Test/README 0.003 XMR โฌ0.60
Bug Fix 0.005-0.01 XMR โฌ1.00-2.00
Feature 0.01-0.08 XMR โฌ2.00-16.00
๐ Key Lessons Learned
What Worked Well
โ
Monero Integration โ Subaddresses work perfectly for tracking payments
โ
Smart Contract Design โ OpenZeppelin provided excellent security
โ
API Structure โ Clean separation of concerns (routes, controllers, models)
โ
i18n Support โ Multi-language made the platform more accessible
โ
JWT Authentication โ Simple and effective role management
What We'd Do Differently
๐ Better Documentation โ Swagger/OpenAPI should have been there from day one
๐ Docker First โ Containerization would have made deployment easier
๐ Webhooks Early โ Event notifications would have improved integration
๐ Getting Started
Prerequisites
Node.js: v18.x or higher
MongoDB: v5.0 or higher
Monero RPC: A running Monero wallet RPC
Ethereum Node: Infura or Alchemy endpoint
Installation
bash
# 1. Clone the repository
git clone https://github.com/DanielIoni-creator/tokenization-singapore.git
cd tokenization-singapore
# 2. Install backend dependencies
cd backend
npm install
# 3. Configure environment
cp .env.example .env
nano .env # Edit with your MongoDB URI, Ethereum RPC URL, and Monero RPC URL
# 4. Create admin user
node scripts/createAdmin.js
# 5. Start the server
npm run dev
The API will be available at http://localhost:3000.
๐ฎ The Future
MyZubster Gateway
Swagger/OpenAPI โ Interactive API documentation
Docker โ One-command deployment
PGP Encryption โ Encrypted order data
Webhooks โ Real-time event notifications
P2P Messaging โ Investor communication
Mobile App โ React Native for iOS/Android
Tokenization Singapore
Property #3 โ Orchard Road (5,000 tokens)
Secondary Market โ Token trading platform
Dividend Distribution โ Automated rent distribution
Portfolio Analytics โ Advanced investor metrics
Mobile App โ Portfolio management
๐ฌ Join the Discussion
GitHub Issues: Report a bug
Telegram: t.me/myzubster
Twitter: @MyZubster
Tor: http://olqcnbdlt35k2stmmwvzhvuetu2fc4us2jnn5wg6y6wlcddihfmdomid.onion
๐ License
MIT โ Free for everyone to use, modify, and build upon.
๐ Acknowledgments
OpenZeppelin for secure smart contract libraries
Monero for privacy-preserving payments
Ethereum for smart contract infrastructure
All contributors who help make this project better
"Not how much you give, but how many give it." โ Spiccioli in Monero
Built with โค๏ธ by the MyZubster team.
Enter fullscreen mode Exit fullscreen mode
์ถ์ถ ๋ณธ๋ฌธ ยท ์ถ์ฒ: dev.to ยท https://dev.to/danielioni/building-a-tokenization-ecosystem-myzubster-gateway-x-singapore-real-estate-2jc6
๋ต๊ธ ๋จ๊ธฐ๊ธฐ