Pular para o conteúdo

Integration overview

Este conteúdo não está disponível em sua língua ainda.

You build Use
A wallet, dApp or mini app in TypeScript the SDK: reads and messages ready for TON Connect
An exchange or custodian already on Tonstakers the Tonstakers-compatible deposit: change the address
Anything in another language the raw messages and contract reference
A bot, dashboard or aggregator the indexer API
Something for Telegram chats Telegram: the bot’s inline mode and chat draws
  • takoGRAM is a TEP-74 jetton whose master is the treasury. Balances, transfers and wallet addresses work like any jetton. Share wallets live in their owner’s shard, so derive the address with the treasury’s get_wallet_address or the SDK, not from a generic jetton formula.
  • The rate only grows between losses. get_pool_state returns totalCoins, totalShares, pendingProfit and profitEnd. Profit vests linearly until profitEnd, so the exact value at a moment is totalCoins + pendingProfit × elapsed / remaining. The SDK does this for you.
  • Fees come from getters. Never hard-code them: get_fees on the treasury, get_vault_fees on a vault, get_migration_fee on a migrator. They follow TON’s gas prices.
  • Errors have meanings. A failed transaction’s exit code maps to a readable message; see Error codes.
  • Addresses are on Contract addresses, and in the protocol package’s deployment manifest.