Skip to content
Python API client for [Telegram Open Network] blockchain
Python Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
docs
testsuite
tmp
ton_client
.gitignore
LICENSE
Makefile
Pipfile basic type checking introduced Oct 11, 2019
Pipfile.lock
README.md
pyproject.toml Initial commit Sep 14, 2019
setup.cfg
setup.py

README.md

ton_client

Python API client for blockchain Telegram Open Network

Website | Telegram News | Group

CircleCI Coverage PEP8

Installation

This client works with Python 3.7 only.

Prerequisites:

  • Pipfile

  • ton_client is been shipped with prebuilt fullnode's client library for Ubuntu Xenial & latest macOS. In case of incompatibility with your distro it's needed to build TON fullnode's libtonlibjson.so / libtonlibjson.dylib depends on archtecture. Check here for fullnode's build instructions. Don't forget to copy library file to ton_client/distlib/linux/libtonlibjson.so or ton_client/distlib/darwin/libtonlibjson.dylib

ton_client hasn't been published to PyPI yet so build and install it on your own:

git clone https://github.com/formony/ton_client.git

make setup-all && python ./setup.py install

To be done

  • parallel multithreading calling of libtonlibjson. Note: there is no GIL problem due using ctypes.CDLL()
  • support all the funcs of libtonlibjson as described in spec and mirror here. TL itself described here
  • asyncio wrapper
  • support smart contracts build
  • crypto primitives to work with plain keys
  • support of BIP32 mnemonic (see testsuite)
  • support key derivation as in BIP44
You can’t perform that action at this time.