ton-society / grants-and-bounties

TON Foundation invites talent to imagine and realize projects that have the potential to integrate with the daily lives of users.
https://ton.org/grants
284 stars 129 forks source link

Tonutils - Python SDK for TON #773

Open nessshon opened 2 weeks ago

nessshon commented 2 weeks ago

Summary

The TON blockchain ecosystem is rapidly expanding, but it still lacks comprehensive development tools. My project solves this problem by offering a universal SDK for managing wallets, Jettons, NFTs, etc. This SDK includes a comprehensive set of tools and a set of example cheat sheets that simplify development, making it easier for developers to integrate and manage key features in the TON ecosystem.

Context

Several tools are available for interacting with the TON blockchain, with pytoniq being popular. However, pytoniq uses a native ADNL connection, requiring your own lite server for stability. The lack of RPC connections from popular APIs like tonapi and toncenter makes development more complex, especially for tasks like batch transactions, Jetton operations, and NFT management. My project solves this by offering connections through both RPC clients like tonapi and toncenter, and pytoniq, providing a reliable SDK that simplifies development on the TON blockchain.

The development plan includes:

All examples are available through the provided links.

To further facilitate community engagement, a Telegram bot has been created. This bot allows users to request code examples through inline mode, making it easier to test and explore different functionalities. I've added a PR proposing to include the new library in the official documentation at docs.ton.org.

References

Estimate suggested reward

SBT Bounty Reward 4000 USD in TON equivalent

ProgramCrafter commented 2 weeks ago

Seems nice! Please also take a look on https://github.com/pyAndr3w/ton-preprocessed-wallet-v2 whose main task is cheap mass-transfers - whether you find it in line with your SDK.

nessshon commented 2 weeks ago

@ProgramCrafter Yes, I’ll definitely check it out and try to develop an integration for it as well. My plan is to include all popular contracts and methods for working with TON in this SDK.

coalus commented 2 weeks ago

That's really very useful!