Special thanks to Trinketer22 contributor we have Docker image with docker-hub:
- Download needed special pre-builds (from SpyCheese repo) for
Linux : here, for
Mac : here
- You need to be logged-in to GitHub to download pre-builds
- Install
Python3.9
or higher - Run
pip install toncli
orpip3 install toncli
- If you see
WARNING: The script toncli is installed in '/bla/bla/bla/Python/3.9/bin' which is not on PATH.
please manually add absolutebin
path to PATH env
- If you see
- Run
toncli
and pass absolute path tofunc
/fift
/lite-client
from first step
- You need to download the latest version of python (3.9+) from the official website, you can do
this here
- Please, don't install Microsoft Store version. It will not work.
- During installation, on the first screen, you need to click the "Add Python to PATH" checkbox, this is very important!
-
After successful installation, open the console (you can do this by pressing
Win+X
, selectingWindows Terminal
in the menu) -
Install
toncli
by runningpip install toncli
-
Download the compiled TON binaries from here (you need to be logged in to GitHub)
-
Unzip the downloaded archive
-
Add libcrypto-1_1-x64.dll to unziped files
-
Open the folder in the console (right mouse button, open in the terminal in Windows 11, Windows 10 and less - copy the path in Explorer and in the PowerShell (win+x) and run
cd <<copied path>>
) -
Run
toncli
in console, it will automatically detect.exe
files and added paths to config:
- Success!
- Follow official docs to compile sources
- If you use arch linux you may use AUR package (please keep in mind that you need compile SpyCheese repo toncli-local branch => https://github.com/SpyCheese/ton/tree/toncli-local)
- Run
pip install toncli
orpip3 install toncli
- If you see
WARNING: The script toncli is installed in '/bla/bla/bla/Python/3.9/bin' which is not on PATH.
please manually add absolutebin
path to PATH env
- If you see
- Run
toncli
and pass absolute path tofunc
/fift
/lite-client
from first step