Tonutils is a high-level Python library for interacting with the TON blockchain, with support for native ADNL and multiple HTTP API providers.
- Built-in ADNL-TCP lite-server client.
- toncenter.com – Fast and reliable HTTP API for The Open Network.
- tonapi.io – REST API to the TON blockchain explorer.
- chainstack – Fast and Reliable Blockchain Infrastructure Provider.
- tatum.io – RPCs and APIs powering Web3. Fast, reliable, affordable.
- quicknode.com – Low-latency HTTP API access to TON via global infrastructure.
pip install tonutilsCheck out the examples directory for practical usage across all features.
Available commands:
-
tonutils --version— current library version -
tonutils status— monitor lite-server availability in real timetonutils status --network mainnet # mainnet (default) or testnet tonutils status --config /path/to/config.json # path or URL to config tonutils status --rps 100 # requests per second
If this project has been useful to you, consider supporting its development!
TON: UQCZq3_Vd21-4y4m7Wc-ej9NFOhh_qvdfAkAYAOHoQ__Ness
Supported by TON Society, Grants and Bounties program.
With special thanks to Igroman787 for the support.
This repository is distributed under the MIT License.