Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ton-cli

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ton-cli

[![Version npm](https://img.shields.io/npm/v/ton-cli.svg?logo=npm)](https://www.npmjs.com/package/ton-cli)

  • 1.7.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11
decreased by-26.67%
Maintainers
1
Weekly downloads
 
Created
Source

TON CLI

Version npm

CLI client for TON.

Features

  • 🚀 Works anywhere and does not require to install local TON node
  • 🔐 Encrypted storage of wallets
  • 💸 Multiple wallets (even thousands of them if you wish)
  • 🍰 Get balance
  • ✈️ Transfers
  • 💾 Unecnrypted backups that could be also used to import to other keystores if needed

Install

npm install -g ton-cli

How to use

Invoke ton-cli and follow wizard. You can use flag --test to run client on test net instead of production.

# ton-cli
? Pick command
❯ Open keystore
  Create keystore
  Restore keystore

Offline mode

ton-cli supports offline mode that could be enabled via:

  • --offline argument
  • TON_CLI_OFFLINE=true environment variable

Performing transfers

When you have working keystore you have to write out contacts.json file in the same directory to be able to perform transfers in the form:

[
    {
        "name": "validator_0001",
        "address": "Ef9I0khL_IoN4UrmMFqNKhMZCTyKxroNCE_ajIesviF_S2bC"
    }
]

Testing

Repository is bundled with test keystore and a wallet with a test coins for test (please, do not wipe it's balance). Checkout current project and run yarn cli to start test client.

Test keystore password:

sleep fan egg excess risk friend column remain seven bread disagree culture quick pride crush they ancient access flock settle prison kick tube word

License

MIT

FAQs

Package last updated on 25 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc