Skip to main content

TON Stash - secure TON wallet

Project description

Tons

PyPI Downloads PyPI - Python Version

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.

tons-gui

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tons-1.3.6.tar.gz (786.1 kB view details)

Uploaded Source

Built Distribution

tons-1.3.6-py3-none-any.whl (1.0 MB view details)

Uploaded Python 3

File details

Details for the file tons-1.3.6.tar.gz.

File metadata

  • Download URL: tons-1.3.6.tar.gz
  • Upload date:
  • Size: 786.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.11.9

File hashes

Hashes for tons-1.3.6.tar.gz
Algorithm Hash digest
SHA256 28479e8d24edae6001881c42630fb2a266a0abdf0cc7b1a9d60ecb2c07c1ae74
MD5 0484555e33e4fac6bf96527a500c90aa
BLAKE2b-256 4ba1875aa78328e60b4e1dcc0872d3d5a6e047e4f544fc704ac9ca38b864c6b2

See more details on using hashes here.

File details

Details for the file tons-1.3.6-py3-none-any.whl.

File metadata

  • Download URL: tons-1.3.6-py3-none-any.whl
  • Upload date:
  • Size: 1.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.11.9

File hashes

Hashes for tons-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1929fc5e9520c2adf321c5465520c5e28c5b305391ed6acc149a831d3e0fff6c
MD5 0f96a771ecd8909f343f7520477e4638
BLAKE2b-256 6c6fb2cf58c395a8e30360e8efd679b197219f2198db82c93fbe5fa12745a101

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page