Skip to content
forked from psylopunk/pytonlib

Simple python client for The Open Network

License

Notifications You must be signed in to change notification settings

SpeedK/pytonlib

 
 

Repository files navigation

🌐 Introduction

This library allows you to work with the TON blockchain API from Python.

Features:

  • Creating and importing wallet
  • Getting wallets balance
  • Getting transactions of any wallet
  • Transfer coins
  • Executing methods of smart-contracts
  • Transfer NFT

PyPI version visitors

How to install:

pip install ton

If you have an illegal instruction error then you need to build libtonlibjson by yourself:

git clone https://github.com/psylopunk/ton && cd ton
chmod +x build_tonlib.sh && ./build_tonlib.sh # docker is needed

Getting started

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

Troubleshooting

Found a bug? Or just improvments? -- Read more about this in Troubleshooting

Donate

  • BTC – 192gK2df3izkpaNgcMbfEDrLgoofyjjfeC
  • TON – EQCl1Ug9ZT9ZfGyFH9l4q-bqaUy6kyOzVPmrk7bivmVKJRRZ

About

Simple python client for The Open Network

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.0%
  • Dockerfile 1.4%
  • Shell 0.6%