Code Monkey home page Code Monkey logo

ton-binaries's Introduction

Pre-compiled TON binaries

Useful pre-compiled TON binaries (fift, func, lite-client) for multiple operating systems. These binaries are needed for various tasks related to TON blockchain, such as querying the chain, sending transactions and compiling smart contracts.

Instructions

  1. Download the binaries from the Releases page of this repo - make sure to select the correct version according to the operating system you're using and install the additional dependencies:

    Operating System fift func lite-client Additional dependencies
    MacOS M1 fift func lite-client brew install openssl
    MacOS Intel fift func lite-client brew install openssl
    brew reinstall readline
    Windows 64 fift func lite-client Install OpenSSL 1.1.1
    Ubuntu 18 fift func lite-client sudo apt install libssl-dev
    Ubuntu 16 fift func lite-client sudo apt install libssl-dev
    Debian 10 (Out of date) fift func lite-client sudo apt install libssl-dev
  2. After download, make sure the downloaded binaries are executable by changing their permissions (ie by running chmod +x fift). It's also useful to place these binaries in your path (or copy them to /usr/local/bin) to make sure you can access them from anywhere.

  3. To check that everything was installed correctly, run in terminal fift -V && func -V && lite-client -V

  4. If you plan to use fift, also download fiftlib.zip, open the zip in some directory on your machine (like /usr/local/lib/fiftlib) and set the environment variable FIFTPATH to point to this directory.

Alternative - compile by yourself

If you don't want to rely on pre-compiled binaries and prefer to compile the binaries by yourself, you can follow the official instructions. The gist of the instructions is provided below:

Linux (Ubuntu / Debian)

sudo apt update
sudo apt install git make cmake g++ libssl-dev zlib1g-dev wget
cd ~ && git clone https://github.com/newton-blockchain/ton.git
cd ~/ton && git submodule update --init
mkdir ~/ton/build && cd ~/ton/build && cmake .. -DCMAKE_BUILD_TYPE=Release && make -j 4

Other sources for binaries

The core team provides automatic builds for several operating systems as GitHub Actions.

Click on the link above, choose the workflow on the left relevant to your operating system, click on a recent green passing build and under "Artifacts" download ton-binaries.

ton-binaries's People

Contributors

talkol avatar shaharyakir 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.