Skip to content

Python API client for [Telegram Open Network] blockchain

License

Notifications You must be signed in to change notification settings

formony/ton_client

Repository files navigation

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:

  • Poetry

  • 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 test build

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

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •