Telegram Mini App boilerplate

Ship a paid Telegram Mini App this weekend

Stars payments, TON Connect, secure user auth and a polished UI — already wired up. Skip the boring plumbing and build the part that's actually yours.

AI-coding ready8 screens + UI kitTelegram StarsTON ConnectPrice charts
TMA Starter● TON
Total balance
$18,402.55
+$420.18 · +2.34%
Receive
Send
Swap
Buy
TokensNFTsActivity

Toncoin

12.4 TON
$24.80+3.1%

Tether USD

1,204 USDT
$1,204+0.0%

Telegram Stars

1,250 ★
≈ $16.25earned
Home
Store
Wallet
Profile
What you get

The hard parts, already done

The plumbing that takes days to get right — finished, tested and documented.

Stars payments

Invoice creation, native checkout, pre-checkout answer and fulfillment webhook — the full flow.

Secure auth

Server-side initData validation with HMAC. Trust the user without trusting the client.

TON Connect

Connect any TON wallet and send transactions, via the official TON Connect UI.

Premium dark UI

A designed dark theme with a Bitget-style teal accent, glassy depth and subtle glow — looks pro out of the box.

8 wallet-grade screens

Wallet home, token detail with price charts, send, receive (QR), swap, activity, store & settings — plus a reusable UI kit.

No SDK lock-in

Uses the stable global Telegram WebApp API — a third-party SDK bump won't break your build.

Why pay when there's a free template?

Because the free one is an empty shell

Free official template

  • No payments wired
  • No backend or auth
  • No TON Connect
  • Bare UI, no screens
  • You assemble it all

TMA Starter ($29)

  • Stars payments wired
  • Secure backend + auth
  • TON Connect wallet
  • 4 polished screens
  • Setup docs included

Made for how you build now — with AI

Open TMA Starter in Cursor, Claude Code or Copilot and just talk to it like a teammate:

"yo, add a staking page — let users lock TON for 30 days at 8% APY with a live countdown, pull from the wallet balance I already have, and pay rewards out in Stars."

That's a tall order from scratch — your AI would fumble the payments, the auth and the wallet wiring. Here it just bolts onto code where Stars, TON Connect, the wallet UI and secure auth already work. You point, it builds the fun part.

Payments, end to end

The Stars flow is fully wired

Tap buyclient
Validate userinitData HMAC
createInvoiceLinkcurrency XTR
openInvoicenative checkout
Webhookfulfill order
What's inside

Clean, readable, yours to extend

tma-starter/
├─ src/
│  ├─ App.tsx # 5-tab nav + sub-screen stack
│  ├─ pages/ # 8 screens ↓
│  │  ├─ WalletHome · TokenDetail · Receive
│  │  └─ Send · Swap · Store · Activity · Settings
│  ├─ components/
│  │  ├─ ui.tsx # reusable UI kit
│  │  ├─ Sparkline.tsx # SVG price charts
│  │  └─ icons.tsx · TabBar.tsx
│  └─ lib/
│     ├─ telegram.ts # typed WebApp wrapper
│     ├─ data.ts · nav.ts
│     └─ api.ts # Stars invoice calls
├─ COMPONENTS.md # UI kit + design tokens docs
└─ server/index.js # auth + Stars + webhook (0 deps)
Get it now

One payment. Build unlimited apps.

TMA Starter — full source
$49$29
  • 8 wallet-grade screens (charts, swap, send/receive…)
  • Reusable UI kit + design-system docs
  • Telegram Stars + TON Connect wired
  • Zero-dependency backend, secure initData auth (tested)
  • Setup & deploy guide (BotFather → live)
  • License for unlimited personal & commercial apps
  • Free lifetime updates
Buy now with PayPal — $29
Secure PayPal checkout · 14-day money-back guarantee
How delivery works: after paying, you'll get the download link by email (to your PayPal email), usually within a few hours. In a hurry? Email your PayPal name and we'll send it right away.
FAQ

Questions, answered

Do I need a backend?

For Stars payments, yes — Telegram requires invoices to be created with your bot token, which must stay server-side. The included backend is a single zero-dependency Node file you can deploy to Railway, Render, Fly, or a VPS in minutes.

Can I really sell digital goods?

Yes. Telegram requires digital goods to be sold in Stars, and that's exactly what's wired up. Earned Stars are withdrawable to TON via Fragment.

Does it work with the latest Telegram?

It uses the stable, official window.Telegram.WebApp API (not a third-party SDK that breaks on major bumps), plus the official TON Connect UI. You get free lifetime updates either way.

How do I get the files after paying?

Pay via the PayPal button; we email the download to your PayPal email, usually within a few hours. Need it instantly? Email us your PayPal name.

What's the license?

Build unlimited personal and commercial Mini Apps, including client work. You just can't resell the boilerplate itself as a boilerplate.

Refunds?

Not happy within 14 days? Email us for a full refund, no questions asked.

Stop wiring boilerplate. Start building your app.

Everything you need to ship a paid Telegram Mini App — for $29.

Get TMA Starter →
$49$29 · TMA Starter
Buy now →