Altcoins Talks - Cryptocurrency Forum

Cryptocurrency Ecosystem => Community Coins & Tokens => Everscale Forum => Topic started by: Alex077 on May 21, 2021, 11:09:12 AM

Title: Debugging Free TON Smart Contracts with the ‘ft’ Multi-Account Wallet
Post by: Alex077 on May 21, 2021, 11:09:12 AM

Free TON is one of most efficient blockchains in terms of performance. We have been working with it during the last months. ‘ft’ is a tool that we developed to help manage multiple accounts. While we were developing more and more smart contracts on Free TON, we have kept extending ‘ft’ with many features to help developers of smart contracts in their daily tasks. In this article, we present a simple session with ‘ft’ and how it can be used together with TONOS SE to test a smart contract.
Installation

ft is an open-source tool available on Github:
OCamlPro/freeton_wallet
The 'ft' tool is a multi-account terminal wallet for Free TON users and developers. It implements account…
github.com

Since it is based on our OCaml binding on TON-SDK, the easiest way to install it is to use Opam, the OCaml package manager (you must have a recent version of Rust installed, do not use system packages but download it from https://rustup.rs/):
$ sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)
$ opam init
$ opam switch create free-ton 4.10.0
$ opam repo add ocp git+https://github.com/OCamlPro/ocp-opam-repository --set-default --all
$ opam install ft
$ cp $HOME/.opam/free-ton/bin/ft SOMEWHERE_IN_YOUR_PATH/
Since Opam is a source package manager, it may take a while to download, compile and install the package and all its dependencies. If you already have a previous version installed, upgrading will be much faster:


Read more...https://medium.com/ocamlpro/debugging-free-ton-smart-contracts-with-the-ft-multi-account-wallet-e0e0adbe9cec