Tons
Documentation
You can find installation guide and all available features in our docs.
Introduction
tons is an Open Source cross-platform wallet application and command-line interface to maintain any type of wallet on the TON network on desktops and servers. Works with Windows/Mac/Linux.
tons has different UI versions thanks to which any user will find a suitable interface:
tons uses specific filesystem architecture that is maintained by the application.
.tons
├── config.yaml
├── whitelist.json
├── keystores
│ ├── *.keystore
User interfaces
tons-interactive
tons-interactive is a convenient interface to control your assets through terminal.
$ tons-interactive
[✓] Pick command: Keystores
[✓] Pick command: Open keystore
[✓] Choose keystore to use: 🔒 personal.keystore
[?] Pick command [personal.keystore]: List wallets
> List wallets
Transfer
Advanced Transfer
Whitelist
Tonconnect v2
DNS
Jetton
...
tons
tons is a batch mode interface that allows you to write automatic scripts.
To get all available subcommands and flags run a command with an '-h' flag
$ tons -h
Usage: tons [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
-c, --config Use specific config.yaml file
-h, --help Show this message and exit.
Commands:
config Control config parameters (check README.md for all fields...
contract Operate with contracts
dev Development tools
dns Operate with DNS
init Initialize .tons workdir in a current directory
keystore Operate with keystores
tonconnect Operate with TonConnect
wallet Operate with wallets
whitelist Operate with whitelist contacts
Example: get list of all wallets from a keystore
$ tons wallet list -v
| Name | Version | WC | Address | Comment | State | Balance |
|:------|:-------:|:--:|:------------------------------------------------:|:--------|:------:|--------:|
| dev | v3r2 | 0 | EQBxWbjry61lk0dU_8viG9M_e5x9VGOJaI9ZhOrn6vcIp7Sm | None | Active | 13.1 |
| prod | v4r2 | 0 | EQCkNipaz2C3Md-tXVBcD3E4yv8EKqMzZ41QQtsM4IdFnKP5 | None | Uninit | 0.0 |
| Total | | | | | | 13.1 |
tons-gui
Graphic user interface version is being developed. Here's a glimpse of the interface.
License
The code and data files in this distribution are licensed under the terms of the GNU General Public License version 3 as published by the Free Software Foundation. See https://www.gnu.org/licenses/ for a copy of this license.
Metadata
Release files for tons 1.6.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tons-1.6.6.tar.gz | 802.6 kB | Without provenance | Details for tons-1.6.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tons-1.6.6-py3-none-any.whl | Python 3 | none | any | Details for tons-1.6.6-py3-none-any.whl |
Total release size: 1.8 MB
Release files / tons-1.6.6.tar.gz
| Download URL | tons-1.6.6.tar.gz |
|---|---|
| Size | 802.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
459073bc9ed45d4d391d552973bfc68fd471d6173b50a449a602529034bff843
|
|
BLAKE2b-256 checksum How to use checksums |
9ca46a167ac471c6cc642ee20d17e69bbc9218fccd0b78e30c610fd968815bb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.11.9
|
Release files / tons-1.6.6-py3-none-any.whl
| Download URL | tons-1.6.6-py3-none-any.whl |
|---|---|
| Size | 1.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3acd6ac1d2e83856403a934f10b6b61bea31a81dd1df7b9a23d45acfe7503bed
|
|
BLAKE2b-256 checksum How to use checksums |
af6bdcb87a5f054d7a19077450f57eec4f4a69c979f3b34dcafaed660fe958cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.11.9
|
Security for tons 1.6.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.