Python SDK for TON Blockchain — wallets, contracts, and more via ADNL and HTTP APIs.
Project description
📦 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
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.
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.1.0.tar.gz.
File metadata
- Download URL: tonutils-2.1.0.tar.gz
- Upload date:
- Size: 107.5 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 |
54c5c1da2c09eb2b479de280e693685dfc822ca7ad78402dbb9c204be830ddbe
|
|
| MD5 |
e41aa747da4a1f0cb78b2b3d45c04a84
|
|
| BLAKE2b-256 |
d418664e4491d132069da90ddf44a4b56c748229c662f7fb5fd5540bd1fe96d6
|
File details
Details for the file tonutils-2.1.0-py3-none-any.whl.
File metadata
- Download URL: tonutils-2.1.0-py3-none-any.whl
- Upload date:
- Size: 153.4 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 |
994d6f5e18732d4696376711d85b178130ca8fed0a2ad6064683063f3d25a6fe
|
|
| MD5 |
c2f0a9ab2a556dd6c343df18deca1612
|
|
| BLAKE2b-256 |
139cf36ad8833671ee5e42165e39734d307684ba1a57d0794cf7884c6bbb4dd2
|