Back to Articles
Monetization

Monetizing Mini Apps with TON Blockchain and Telegram Stars

Monetizing user activity on Telegram has reached record heights through the combination of Telegram Stars for in-app virtual products and the TON Blockchain for crypto-native settlements.

1. Telegram Stars Integration

Telegram Stars allows users on iOS and Android to purchase digital products using native Apple In-App Purchases and Google Play Billing, while bot developers can withdraw earnings via Fragment in TON cryptocurrency.

const invoiceUrl = await bot.createInvoiceLink({
  title: 'Premium Monthly Access',
  description: 'Unlock real-time crypto alerts and AI summaries',
  payload: 'user_sub_9921',
  currency: 'XTR',
  prices: [{ label: '1 Month', amount: 150 }]
});

window.Telegram.WebApp.openInvoice(invoiceUrl, (status) => {
  if (status === 'paid') {
    console.log('Payment successful!');
  }
});

2. TON Connect 2.0 Integration

For Web3 applications requiring smart contract interactions, TON Connect provides a unified standard for connecting Telegram wallets (Tonkeeper, Telegram Wallet, MyTonWallet):

  • One-click login: Verifies cryptographic wallet ownership without passwords.
  • Jetton & NFT payments: Direct peer-to-peer transfers with sub-second finality.
  • Automated payouts: Trigger smart contract distributions upon milestone completions.

Integrate Payments into Your Telegram Business

We build turnkey payment gateways supporting Telegram Stars, TON, USDT, and custom crypto billing.