DEV Community

Daniel Ioni
Daniel Ioni

Posted on

🤖 MyZubster Telegram Bot is LIVE! Real-time Stats & Notifications for Tokenized Real Estate

🤖 MyZubster Telegram Bot is LIVE! Real-time Stats & Notifications for Tokenized Real Estate

The News 📢

The MyZubster Telegram Bot is officially live and fully operational!

After weeks of building the backend, mobile app, and smart contracts, we now have a Telegram bot that gives you real-time access to the entire platform.

👉 Try it now: @myzubster_bot


🔗 Connect With Us


🤖 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 (coming soon)
  • /portfolio - View your portfolio (coming soon)
  • /start - Welcome and info
  • /help - All commands

📊 Real Data From Production

The bot is already connected to live data:

Metric Value
Tokens Created 2 (MBFT, SRET)
Total Supply 18,000 Tokens
Tokens Sold 2,470 (13.7%)
Total Raised 5,000 SGD
Investors 1
Orders Processed 3
Orders Completed 1
Orders Pending 2
Total Revenue 5,000 SGD
Conversion Rate 33.3%

🛠️ Tech Stack

Layer Technology
Bot Framework node-telegram-bot-api
Runtime Node.js 20
Process Manager PM2
API Integration Axios
Database MongoDB
Blockchain Ethereum (Sepolia)
Payments Monero (XMR)
Hosting VPS Ubuntu 24.04

💻 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',
  }
};Stats Command
javascript

// telegram/handlers/commands.js
exports.stats = async (bot, msg) => {
  const chatId = msg.chat.id;

  try {
    const response = await axios.get(`${config.apiUrl}/bot/stats`);
    const stats = response.data.data;

    const statsMessage = `
📊 *Statistiche MyZubster*

🏢 *Token*
Totale: ${stats.totalTokens || 0}
Attivi: ${stats.activeTokens || 0}
Supply: ${formatNumber(stats.totalSupply || 0)}

💰 *Investimenti*
Raccolto: $${formatNumber(stats.totalRaised || 0)}
Investitori: ${stats.totalInvestors || 0}

📦 *Ordini*
Totali: ${stats.totalOrders || 0}
Completati: ${stats.completedOrders || 0}
In attesa: ${stats.pendingOrders || 0}

📈 *Performance*
Revenue: $${formatNumber(stats.totalRevenue || 0)}
Conversion: ${stats.conversionRate || 0}%
`;

    bot.sendMessage(chatId, statsMessage, { parse_mode: 'Markdown' });
  } catch (error) {
    console.error('Errore stats:', error);
    bot.sendMessage(chatId, '❌ Errore nel recupero delle statistiche');
  }
};

Notification Service
javascript

// telegram/services/notification.js
class NotificationService {
  async notifyNewOrder(order) {
    const message = `
🆕 *Nuovo Ordine!*

📦 *Ordine #${order._id.slice(-6)}*
👤 Utente: ${order.userId}
🏢 Token: ${order.tokenId?.name}
💰 Importo: $${order.totalPrice}
📊 Status: ${order.status}
`;

    await this.broadcastToAll(message);
  }

  async notifyOrderCompleted(order) {
    const message = `
🎉 *Ordine Completato!*

✅ Ordine #${order._id.slice(-6)}
🏢 Token: ${order.tokenId?.name}
💰 Importo: $${order.totalPrice}
📅 Completato: ${new Date().toLocaleDateString()}

I tuoi token sono stati mintati! 🪙
`;

    await this.broadcastToAll(message);
  }
}

🗺️ What's Next
Status  Feature Description
✅ Telegram Bot    Real-time notifications
✅ Basic Commands  Stats, tokens, price
✅ User Subscriptions  Subscribe/unsubscribe
🔄    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
🚀 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.
📱 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

🔗 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: t.me/myzubster

    Twitter: @MyZubster

    YouTube: youtube.com/@myzubster

    GitHub Issues: Report bugs

🎯 The Mission

MyZubster is about making real estate investment accessible to everyone:

    "Not how much you give, but how many give it."

We believe:

    ✅ Everyone should be able to invest in prime real estate

    ✅ Privacy is a fundamental right

    ✅ Open source benefits everyone

    ✅ Financial freedom should be global

Start using the bot today! 🤖🚀

Built with ❤️ by Daniel Ioni and the MyZubster team.

Last updated: July 27, 2026
Enter fullscreen mode Exit fullscreen mode

Top comments (0)