This library allows you to work with the TON blockchain API from Python.
Features:
pip install ton
If you have an illegal instruction error then you need to build libtonlibjson by yourself:
git clone https://github.com/psylopunk/pytonlib && cd pytonlib
&& ./build_tonlib.sh # docker is needed
Examples will give a general look at the library. They describe almost all supported methods, but in addition, below you can see each method in detail. To make a custom request to libtonlibjson
, check out list of available methods and execute it using client.execute
Found a bug? Or just improvments? -- Read more about this in Troubleshooting
Donate