Python API client for blockchain Telegram Open Network
Website | Telegram News | Group
This client works with Python 3.7 only.
Prerequisites:
-
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
- 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