GithubHelp home page GithubHelp logo

mytonctrl's Introduction

Данный текст доступен на русском языке.

What is it

This console program is a wrapper over fift,lite-client and validator-engine-console. It was created to facilitate the management of wallets, domains and a validator on the Linux operating system.

Functional

  • Show TON network status
  • Management of local wallets
    • Create local wallet
    • Activate local wallet
    • Show local wallets
    • Import wallet from file (.pk)
    • Save wallet address to file (.addr)
    • Delete local wallet
  • Show account status
    • Show account balance
    • Show account history
    • Show account status from bookmarks
  • Transferring funds to the wallet
    • Transfer of a fixed amount
    • Transfer of the entire amount (all)
    • Transfer of the entire amount with wallet deactivation (alld)
    • Transferring funds to the wallet from bookmarks
    • Transferring funds to a wallet through a chain of self-deleting wallets
  • Manage bookmarks
    • Add account to bookmarks
    • Show bookmarks
    • Delete bookmark
  • Offer management
    • Show offers
    • Vote for the proposal
    • Automatic voting for previously voted proposals
  • Domain management
    • Rent a new domain
    • Show rented domains
    • Show domain status
    • Delete domain
    • Automatic domain renewal
  • Controlling the validator
    • Participate in the election of a validator
    • Return bet + reward
    • Autostart validator on abnormal termination (systemd)
    • Send validator statistics to https://toncenter.com

List of tested operating systems

Ubuntu 16.04 LTS (Xenial Xerus) - Error: TON compilation error
Ubuntu 18.04 LTS (Bionic Beaver) - OK
Ubuntu 20.04 LTS (Focal Fossa) - OK
Debian 8 - Error: Unable to locate package libgsl-dev
Debian 9 - Error: TON compilation error
Debian 10 - OK

Description of installation scripts

  • toninstaller.sh - This script clones the sources of TON and mytonctrl in the folders /usr/src/ton and/usr/src/mytonctrl, compiles programs from sources and writes them to /usr/bin/.
  • mytoninstaller.py - This script configures the validator, mytonctrl and creates keys for connecting to the validator.

Installation modes

There are two installation modes: lite and full. They both compile and install the TON components. However, the lite version does not configure or run the node/validator.

Installation (Ubuntu)

  1. Download and execute the script install.sh with the desired installation mode. During installation, you will be prompted for the superuser password several times.
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
sudo bash install.sh -m <mode>
  1. Done. You can try to run the program mytonctrl.
mytonctrl

Installation (Debian)

  1. Download and execute the script install.sh with the desired installation mode. During installation, you will be prompted for the superuser password several times.
wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh
su root -c 'bash install.sh -m <mode>'
  1. Done. You can try to run the program mytonctrl.
mytonctrl

Telemetry

By default, mytonctrl sends validator statistics to the server https://toncenter.com This is necessary to identify anomalies in the network, as well as to quickly respond to developers. To disable telemetry during installation, use the -t flag:

sudo bash install.sh -m <mode> -t

To disable telemetry after installation:

MyTonCtrl> set sendTelemetry false

Web admin panel

To be able to control the node/validator through the browser, you need to install an additional module: mytonctrl -> installer -> enable JR

Next, you need to create a password for the connection: mytonctrl -> installer -> setwebpass

Ready. Now you can go to the site https://tonadmin.org and log in using your data. git: https://github.com/igroman787/mtc-jsonrpc

Local copy of toncenter

In order to raise a local copy of https://toncenter.com on the server, you need to install an additional module: mytonctrl -> installer -> enable PT

Ready. A local copy of toncenter is available at http://<server-ip-address>:8000 git: https://github.com/igroman787/pytonv3

Useful links

  1. https://github.com/ton-blockchain/mytonctrl/blob/master/docs/en/manual-ubuntu.md
  2. https://ton.org/docs/

mytonctrl's People

Contributors

akifoq avatar awesome-doge avatar dinamicby avatar emelyanenkok avatar ex3ndr avatar highfeed avatar igroman787 avatar ingria avatar kyborg2011 avatar sonofmom avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.