📦 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.tonUQCZq3_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.1
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.1.tar.gz | 115.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tonutils-2.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 279.2 kB
Release files / tonutils-2.5.1.tar.gz
| Download URL | tonutils-2.5.1.tar.gz |
|---|---|
| Size | 115.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8534846f81ac1a92304f63076f76f73e85ec7ec0cc8fa533e7e35bd8cc5b545d
|
|
BLAKE2b-256 checksum How to use checksums |
08cde1aae17569ee5b655713ba3f86689f9b6e248a2727790ae087c2e59a748e
|
| 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.1-py3-none-any.whl
| Download URL | tonutils-2.5.1-py3-none-any.whl |
|---|---|
| Size | 163.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1733d177424cc47e37427b89c84e07cc84ad5b8626efe0f0372108b043917d7
|
|
BLAKE2b-256 checksum How to use checksums |
f19a01b1c05c57dab1f97d2703984004f3558dbd97fb623f45619778348fab55
|
| 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}
|