🤖 MyZubster Telegram Bot is Live! Real-time Notifications for Tokenized Real Estate
The News 📢
The MyZubster Telegram bot is now live and operational!
Bot Username: @myzubster_bot
Now you can get real-time updates about your token investments directly on Telegram.
🔗 Connect With Us
| Platform | Link |
|---|---|
| Telegram Bot | @myzubster_bot |
| Telegram Channel | t.me/myzubster |
| GitHub | github.com/DanielIoni-creator/tokenization-singapore |
| Twitter/X | @MyZubster |
| YouTube | youtube.com/@myzubster |
🤖 What the Bot Can Do
📊 Real-time Statistics
Get live platform stats anytime with /stats:
- Total tokens and supply
- Total raised and investors
- Orders and revenue
- Conversion rates
🏢 Token Information
Browse all available tokens with /tokens:
- Token names and symbols
- Prices and supply
- Status and details
💰 Price Lookup
Check token prices with /price <symbol>:
- Current price in SGD
- Property details
- Investment summary
- Available supply
🔔 Notifications
Subscribe to real-time alerts with /subscribe:
- New order alerts
- Payment confirmations
- Order completions
- New token listings
- Price updates
👤 User Features
-
/orders- Track your orders -
/portfolio- View your portfolio -
/start- Welcome and info -
/help- All commands
🛠️ How It's Built
Tech Stack
| Layer | Technology |
|---|---|
| Bot Framework | node-telegram-bot-api |
| Runtime | Node.js |
| Process Manager | PM2 |
| API Integration | Axios |
| Notifications | Real-time polling |
Architecture
┌─────────────────────────────────────────────────────────────────────────────┐
│ TELEGRAM BOT ARCHITECTURE │
├─────────────────────────────────────────────────────────────────────────────┤
│ │
│ ┌─────────────────┐ ┌─────────────────┐ ┌─────────────────────┐ │
│ │ Telegram │────▶│ Bot Server │────▶│ MyZubster API │ │
│ │ Users │ │ (Node.js) │ │ (Backend) │ │
│ └─────────────────┘ └─────────────────┘ └─────────────────────┘ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ FEATURES │ │
│ │ • Commands: /stats, /tokens, /price, /subscribe, /unsubscribe │ │
│ │ • Notifications: Orders, Payments, Completions, New Tokens │ │
│ │ • User Management: Subscriptions, Preferences │ │
│ │ • Admin: Broadcast, Stats, User Management │ │
│ └─────────────────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────────┘
text
📱 Commands List
| Command | Description |
|---|---|
/start |
Welcome and information |
/help |
Help and available commands |
/stats |
Real-time platform statistics |
/tokens |
List all available tokens |
/price <symbol> |
Get token price and details |
/orders |
Your recent orders (coming soon) |
/portfolio |
Your portfolio (coming soon) |
/subscribe |
Activate notifications |
/unsubscribe |
Deactivate notifications |
/admin |
Admin commands (restricted) |
🔔 Notification Types
The bot sends real-time notifications for:
📦 Order Events
- New order created
- Payment confirmed
- Order completed
- Order cancelled
💰 Investment Events
- New token listed
- Price updates
- Dividend distributions
🏢 Platform Events
- Maintenance announcements
- New features
- Important updates
💻 Code Highlights
Bot Configuration
javascript
// telegram/config/index.js
module.exports = {
botToken: process.env.TELEGRAM_BOT_TOKEN,
botUsername: 'myzubster_bot',
adminChatId: process.env.TELEGRAM_ADMIN_CHAT_ID,
apiUrl: process.env.API_URL || 'http://localhost:3000/api',
commands: {
start: '/start - Welcome and information',
help: '/help - Help and commands',
stats: '/stats - Real-time statistics',
tokens: '/tokens - List available tokens',
price: '/price <symbol> - Token price',
subscribe: '/subscribe - Activate notifications',
unsubscribe: '/unsubscribe - Deactivate notifications',
}
};
Notification Service
javascript
// telegram/services/notification.js
class NotificationService {
async notifyNewOrder(order) {
const message = `
🆕 *New Order!*
📦 *Order #${order._id.slice(-6)}*
👤 User: ${order.userId}
🏢 Token: ${order.tokenId?.name}
💰 Amount: $${order.totalPrice}
📊 Status: ${order.status}
`;
await this.broadcastToAll(message);
}
async notifyOrderCompleted(order) {
const message = `
🎉 *Order Completed!*
✅ Order #${order._id.slice(-6)}
🏢 Token: ${order.tokenId?.name}
💰 Amount: $${order.totalPrice}
📅 Completed: ${new Date().toLocaleDateString()}
Your tokens have been minted! 🪙
`;
await this.broadcastToAll(message);
}
}
🚀 Getting Started
Add the Bot
Open Telegram
Search for @myzubster_bot
Click Start
Subscribe to Notifications
Send /subscribe to the bot to receive real-time updates.
Check Platform Stats
Send /stats to see live platform statistics.
Browse Tokens
Send /tokens to see all available tokens.
🛠️ Run Your Own Bot
Prerequisites
Node.js 18+
Telegram Bot Token (from @BotFather)
MyZubster API running
Setup
bash
# Clone the repository
git clone https://github.com/DanielIoni-creator/tokenization-singapore.git
cd tokenization-singapore/backend
# Install dependencies
npm install
# Configure environment
echo "TELEGRAM_BOT_TOKEN=your_bot_token" >> .env
echo "TELEGRAM_ADMIN_CHAT_ID=your_chat_id" >> .env
# Start the bot with PM2
pm2 start telegram/index.js --name "telegram-bot"
pm2 save
Get Bot Token
Open Telegram
Search for @BotFather
Send /newbot
Choose name and username
Copy the token
📊 Platform Statistics
Metric Value
Tokens Created 3 (2 Active)
Total Supply 18,000 Tokens
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 SGD
🗺️ What's Next
Status Feature Description
✅ Telegram Bot Real-time notifications
✅ Basic Commands Stats, tokens, price
🔄 User Authentication Link Telegram to account
🔄 Orders Command View your orders
🔄 Portfolio Command View your portfolio
📋 Inline Buttons Interactive menus
📋 Multi-language i18n support
📋 Webhook Replace polling
🔗 Project Links
Resource Link
Telegram Bot @myzubster_bot
Telegram Channel t.me/myzubster
GitHub github.com/DanielIoni-creator/tokenization-singapore
Live API api.my-zubster.com
Admin Dashboard admin.my-zubster.com
Tor Onion http://olqcnbdlt35k2stmmwvzhvuetu2fc4us2jnn5wg6y6wlcddihfmdomid.onion
Smart Contract 0x742d35Cc6634C0532925a3b844Bc454e4438f44e
🤝 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
💬 Join the Community
Telegram: myzubster_bot
Twitter: @MyZubster
GitHub Issues: Report bugs

Top comments (0)