Skip to content

Latest commit

 

History

History
70 lines (46 loc) · 3.31 KB

INSTALLATION.md

File metadata and controls

70 lines (46 loc) · 3.31 KB

Installation from pre-build

Docker: linux / macOS (m1 supported)

Special thanks to Trinketer22 contributor we have Docker image with docker-hub:

  1. Docker-hub pre-build images can be found here
  2. Docker files with instructions can be found here

Linux / macOS (intel)

  1. Download needed special pre-builds (from SpyCheese repo) for Linux : here, for Mac : here
    1. You need to be logged-in to GitHub to download pre-builds
  2. Install Python3.9 or higher
  3. Run pip install toncli or pip3 install toncli
    1. 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 absolute bin path to PATH env
  4. Run toncli and pass absolute path to func / fift / lite-client from first step

Windows

  1. You need to download the latest version of python (3.9+) from the official website, you can do this here
    1. Please, don't install Microsoft Store version. It will not work.
  2. During installation, on the first screen, you need to click the "Add Python to PATH" checkbox, this is very important!

image

  1. After successful installation, open the console (you can do this by pressing Win+X, selecting Windows Terminal in the menu)

  2. Install toncli by running pip install toncli

  3. Download the compiled TON binaries from here (you need to be logged in to GitHub)

image

  1. Unzip the downloaded archive

  2. Add libcrypto-1_1-x64.dll to unziped files

image

  1. 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>>)

  2. Run toncli in console, it will automatically detect .exe files and added paths to config:

image

  1. Success!

Installation from source

Linux & macOS

  1. Follow official docs to compile sources
    1. 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)
  2. Run pip install toncli or pip3 install toncli
    1. 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 absolute bin path to PATH env
  3. Run toncli and pass absolute path to func / fift / lite-client from first step