📦 Tonutils
Python SDK for TON Blockchain
Wallets, transfers, smart contracts, and on-chain tools via lite servers (ADNL) and HTTP API providers.
Features
- Providers — blockchain access via lite servers (ADNL) and HTTP APIs
- Wallets — create, import, and deploy all standard wallet versions
- Transfers — TON, jettons, NFTs, batch, gasless, and encrypted
- Contracts — deploy, mint, and manage on-chain contracts
- Tools — lite server and DHT monitoring, block scanning
Support this project — TON:
donate.ness.ton
UQCZq3_Vd21-4y4m7Wc-ej9NFOhh_qvdfAkAYAOHoQ__Ness
Installation
pip install tonutils
Documentation
Documentation — API reference, guides, and examples.
llms.txt — machine-readable docs for AI tools.
Examples
- Client initialization
- Create Wallet
- Import Wallet
- Deploy Wallet
- Wallet Info
- Block Scanner
- Vanity Contract
Transfers
- TON Transfer
- Jetton Transfer
- NFT Transfer
- Batch Transfer
- Gasless Transfer
- Sequential Transfer
- Encrypt Message
- Decrypt Message
Jetton
NFT
DNS
CLI
tonutils -v # show version
tonutils status ls # monitor lite servers
tonutils status dht # monitor DHT nodes
| Option | Commands | Description |
|---|---|---|
-n, --network |
ls dht |
mainnet (default) or testnet |
-c, --config |
ls dht |
Path or URL to network config |
-r, --rps |
ls |
Requests per second (default: 100) |
--retry |
ls |
Enable ADNL retry policy |
License
This repository is distributed under the MIT License.
Metadata
Release files for tonutils 2.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tonutils-2.5.0.tar.gz | 115.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tonutils-2.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 279.2 kB
Release files / tonutils-2.5.0.tar.gz
| Download URL | tonutils-2.5.0.tar.gz |
|---|---|
| Size | 115.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64036835815f19a6e396e731e6ebe85be37902bbd59f3a63d7bbb8849d29b49b
|
|
BLAKE2b-256 checksum How to use checksums |
b5083c38f0108c5a98f2fd2b90f3874cbf0bb6a0d3e91ba3650c0bd8ab0683e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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}
|
Release files / tonutils-2.5.0-py3-none-any.whl
| Download URL | tonutils-2.5.0-py3-none-any.whl |
|---|---|
| Size | 163.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8cc3bf854011775d4cab2e4b0ccf18e2946adad8d0cb4cdda8ed774507512d8
|
|
BLAKE2b-256 checksum How to use checksums |
b860973aa6f0bfce7a5b3c63d0efb61cb539be817b799e0642a67f5203dbbf68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","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}
|