Tonutils is a high-level, object-oriented Python library designed to facilitate seamless interactions with the TON blockchain.
Project description
Tonutils 2.0
Tonutils is a high-level Python library for interacting with the TON blockchain, with support for native ADNL and multiple HTTP API providers.
Native ADNL
- Built-in ADNL-TCP lite-server client.
HTTP API
- 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.
Installation
pip install tonutils
Usage
Check out the examples directory for practical usage across all features.
CLI
Available commands:
tonutils -v # current library version
tonutils status # monitor lite-server availability
tonutils status -n mainnet # mainnet (default) or testnet
tonutils status -c /path/to/config.json # path or URL to config
tonutils status --rps 100 # requests per second
Donations
If this project has been useful to you, consider supporting its development!
TON: UQCZq3_Vd21-4y4m7Wc-ej9NFOhh_qvdfAkAYAOHoQ__Ness
Support
Supported by TON Society, Grants and Bounties program.
With special thanks to Igroman787 for the support.
License
This repository is distributed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tonutils-2.0.3.tar.gz.
File metadata
- Download URL: tonutils-2.0.3.tar.gz
- Upload date:
- Size: 147.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
49b87456bbae4b137b75a60687f993a375b1fdf049580976d205512d0e5d59ce
|
|
| MD5 |
65a71b5e7fa3bb09b0416d8bb90f2183
|
|
| BLAKE2b-256 |
d366ab995bbea69077d068b39914ca9ade4a7d31b34802a69fba8283549a7f57
|
File details
Details for the file tonutils-2.0.3-py3-none-any.whl.
File metadata
- Download URL: tonutils-2.0.3-py3-none-any.whl
- Upload date:
- Size: 202.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6815291b130897f203d2cbd334a0da5c8b9b8de3a9d66db24ab3f6e2c2aabfed
|
|
| MD5 |
f307f59fb30eaef68e8c227a5aca663f
|
|
| BLAKE2b-256 |
01317c6dea822d62b0e425eb0b3e858231e0fdc12c6411fa4c25634c1a46e77a
|