{"repo":"yungwine/pytoniq","free":true,"listed":false,"github":"https://github.com/yungwine/pytoniq","clone":"git clone https://github.com/yungwine/pytoniq.git","description":"TON Blockchain SDK with native ADNL protocols implementations","language":"Python","stars":131,"topics":["blockchain","python","ton","adnl"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"pytoniq Pytoniq is a Python SDK for the TON Blockchain. This library extends pytoniq-core with native LiteClient and ADNL . If you have any questions join Python - TON developers chat. Documentation GitBook Installation Examples You can find them in the examples folder. LiteClient General LiteClient usage examples Client initializing Blocks transactions scanning See BlockScanner code here. LiteBalancer LiteBalancer is constantly pinging LiteServers to identify \"alive\" peers. When you make a request through LiteBalancer , it forwards the request to the \"best\" peer - the \"alive\" peer with the maximum last masterchain block seqno among all and minimum average response time. LiteBalancer can also retry the request if a asyncio.TimeoutError occurs, but this must be explicitly set using the LiteBalancer.set max retries(retries num) method. Moreover, one of the most important features of LiteBalancer is that it detects archival LiteServers, so you can do requests only to archival LiteServers providing True for argument only archive in any method: Blockstore The library can prove all data it receives from a Liteserver (Learn about trust levels here). If you want to use LiteClient or LiteBalancer with the zero trust level, at the first time run library will prove block link from the init block to the last masterchain block. Last proved blocks will be stored in the .blockstore folder. The file data contains ttl and gen utime of the last synced key block, its data serialized according t","default_branch":null,"files":null,"tree":[],"storefront":"/r/yungwine","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/yungwine/pytoniq/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}