Developer guides
Documentation
Practical guides for connecting to TON through private liteservers — Go, TypeScript, Python, MCP for AI agents and archive-history patterns.
Quickstart: connect to a TON liteserver in 5 minutesConnect to a TON liteserver in five minutes: liteserver entry anatomy, the global-config JSON format and its signed-int32 IP quirk, plus a runnable Node.js check.Go: tonutils-go with a private liteserverConnect tonutils-go to a private TON liteserver: connection pool setup, proof-check policy, failover on 651/-400, and a runnable balance example in Go.TypeScript: ton-lite-clientConnect ton-lite-client to a private TON liteserver over ADNL: engine setup, config IP conversion, masterchain info, account balance in GRAM, proofs.Python: pytoniqConnect pytoniq's LiteClient and LiteBalancer to a private TON liteserver: custom config dicts, async balance queries in GRAM, and proof trust levels.MCP: give AI agents TON accessConnect Claude, Cursor, or Codex to TON with @tonnode/mcp. Local setup, private liteserver config, five on-chain tools, and hosted HTTP mode.Querying history: archive access patternsWhy liteservers return "lt not in db", how to page transaction history with lastTx {lt, hash} in ton-lite-client, and how to plan archive backfills.