Skip to content

nessshon/aiogram-tonconnect

Repository files navigation

📦 aiogram TON Connect UI

TON PyPI Python Versions License

Downloads Downloads Downloads

Aiogram TON Connect UI is a middleware library that streamlines the integration of TON Connect technology into Telegram bots based on aiogram. It offers a pre-built user interface and orchestrates the interaction flow for connecting wallets and initiating transactions. The library takes care of all user interactions with TON Connect within the bot, encompassing the presentation of QR codes, texts, and keyboards, along with the handling of timeouts and user cancellations.

Check out the documentation.
Bot example @aiogramTONConnectBot.

Installation

pip install aiogram-tonconnect

Features

  • Ready-to-Use User Interface
  • Middleware Functionality
  • Interface Customization
  • Multilingual Support
  • QR Code Generation

Screenshots

Image 1 Image 2 Image 3
Image 4 Image 5 Image 6

Acknowledgments

This project utilizes the following dependencies to enhance its functionality:

  • aiogram: An asynchronous framework for building Telegram bots.
  • pytonconnect: Python SDK for TON Connect 2.0.
  • pytoniq-core: TON Blockchain primitives.
  • qrcode-fastapi: Generate QR codes with optional image inclusion, supports base64-encoded.
  • and more...

We extend our gratitude to the maintainers and contributors of these libraries for their valuable contributions to the open-source community.

Contribution

We welcome your contributions! If you have ideas for improvement or have identified a bug, please create an issue or submit a pull request.

Support

Supported by TON Society, Grants and Bounties program.

Donations

TON - EQC-3ilVr-W0Uc3pLrGJElwSaFxvhXXfkiQA3EwdVBHNNess

USDT (TRC-20) - TJjADKFT2i7jqNJAxkgeRm5o9uarcoLUeR

License

This repository is distributed under the MIT License. Feel free to use, modify, and distribute the code in accordance with the terms of the license.