fift-node
v0.0.18
Published
Fift (Telegram Open Network) runner for Node.js
Downloads
4
Readme
fift-node
Node JS bindings for Fift compiler (for Telegram Open Network). You can run Fift from your JS code and receive output and files directly in code without FS.
Current TON implementation don't allow to run Fift programmatically. So I created a small patch for it here It allows to create shared library that this project use.
The library is currently compiled only for Mac OS and Windows x64 and Linux x64.
Binding are created using FFI project
Features
- run Fift programmatically
- receive result directly from code (you don't need to read files)
- ability to pass hex strings as arguments (custom word in Fift)
- pass files to your Fift run
- predefined methods to create wallet, create message to testgiver, create message to send grams
Installation
$ npm install --save fift-node
Usage
Check test
folder
Current State
THIS IS NOT FOR COMMERTIAL USE, BECAUSE IT MAY BE UNSTABLE!!!