Staking platform development on TON

We design and develop full-cycle blockchain solutions: from smart contract architecture to launching DeFi protocols, NFT marketplaces and crypto exchanges. Security audits, tokenomics, integration with existing infrastructure.
Showing 1 of 1 servicesAll 1306 services
Staking platform development on TON
Medium
~1-2 weeks
FAQ
Blockchain Development Services
Blockchain Development Stages
Latest works
  • image_website-b2b-advance_0.png
    B2B ADVANCE company website development
    1214
  • image_web-applications_feedme_466_0.webp
    Development of a web application for FEEDME
    1161
  • image_websites_belfingroup_462_0.webp
    Website development for BELFINGROUP
    852
  • image_ecommerce_furnoro_435_0.webp
    Development of an online store for the company FURNORO
    1041
  • image_logo-advance_0.png
    B2B Advance company logo design
    561
  • image_crm_enviok_479_0.webp
    Development of a web application for Enviok
    823

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.