Pytonlib
Simple python client for The Open Network
Install / Use
/learn @psylopunk/PytonlibREADME
🌐 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
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/pytonlib && cd pytonlib
&& ./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
More documentation here <a href="#documentation" id="documentation"></a>
Troubleshooting
Found a bug? Or just improvments? -- Read more about this in Troubleshooting
Donate
- BTC – 192gK2df3izkpaNgcMbfEDrLgoofyjjfeC
- TON – EQCl1Ug9ZT9ZfGyFH9l4q-bqaUy6kyOzVPmrk7bivmVKJRRZ
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
109.5kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
349.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
