Staking Platform Development on TON
TON (The Open Network) — blockchain with unique architecture: sharded chains, asynchronous smart contract execution model, native Telegram integration via TON Connect. Staking on TON has its own specifics: Proof-of-Stake consensus via Elector contract, minimal validator requirements, and growing liquid staking ecosystem.
TON Specifics for Developer
FunC / Tact: TON smart contract languages. FunC — low-level, similar to C. Tact — high-level, appeared in 2023, significantly more convenient. For new projects — Tact.
Asynchronous model: in TON contracts don't call each other synchronously. Messages are sent and processed asynchronously. This affects architecture: can't do atomic multi-step call like in Ethereum.
Gas (Toncoin): transactions paid in TON. Important to correctly calculate gas forwarding for internal messages.
TON Staking Platform Architecture
Liquid Staking on TON
Analog of Lido on TON — protocols Bemo (stTON), hipo.finance, TON Whales. Basic architecture:
Master contract: accepts TON from users, mints liquid staking token (jetton in TON terminology — analog of ERC-20), manages pool.
Jetton contract: TON implementation of fungible token. Standard TEP-74. Each holder has own jetton wallet contract.
Nominator Pool: TON contract that combines funds from several participants to run validator. Minimum for validator — 300K TON, pooling allows participation with smaller sum.
User → TON → Master Contract
Master Contract → mints stTON jetton → User
Master Contract → deposits in Nominator Pool
Nominator Pool → validates network
Validator Rewards → Master Contract
Master Contract → updates exchange rate stTON/TON
TON Connect Integration
TON Connect — protocol for connecting wallets to dApps. Much better than WalletConnect for TON ecosystem, natively integrated with Telegram via Telegram Mini Apps.
import TonConnect from '@tonconnect/sdk';
const connector = new TonConnect({
manifestUrl: 'https://your-app.com/tonconnect-manifest.json'
});
// Connection via Telegram Mini App or QR code
await connector.connect({
universalLink: 'https://app.tonkeeper.com/ton-connect',
bridgeUrl: 'https://bridge.tonapi.io/bridge'
});
// Send staking transaction
await connector.sendTransaction({
messages: [{
address: stakingContractAddress,
amount: toNano('100'), // 100 TON
payload: buildStakePayload()
}]
});
Telegram Mini App
Staking platform on TON organically becomes Telegram Mini App — embedded web app inside Telegram. 800M+ Telegram users — potential audience.
Mini App Structure:
- Main screen: stTON balance, current APY, protocol TVL
- Staking: form with amount, conversion preview, confirmation
- History: all stake/unstake transactions
- Analytics: reward history, ROI calculator
Telegram payments: TON Payments allow accepting payments right in Telegram without leaving to external site.
Development of staking platform on TON with Telegram Mini App — 2-3 months for MVP.







