Skip to main content

TON Connect UI for aiogram bots.

Project description

📦 aiogram TON Connect

TON PyPI Python Versions License

Downloads Downloads Downloads

aiogram-tonconnect is a library that simplifies the integration of TonConnect functionality into Telegram bots developed with the aiogram framework. It provides a ready-to-use UI and handles the interaction flow for connecting wallets and sending transactions. This library acts as a middleware, making it easy to incorporate TonConnect features into your existing aiogram-based bots.

Check out the documentation.
Bot example @aiogramTONConnectBot.

Installation

pip install aiogram-tonconnect

Features

  • TonConnect Integration:

    Simplifies the integration of TonConnect functionality with Telegram bots.

  • Built with Aiogram:

    Developed using the Aiogram framework, providing convenience in operation.

  • Ready-to-Use User Interface:

    Offers a ready-to-use user interface that manages the interaction flow for connecting to wallets and sending transactions.

  • Middleware Functionality:

    Acts as middleware, making it easier to incorporate TonConnect features into existing Aiogram-based bots.

  • Multilingual Support:

    Supports multiple languages, making it easy to add new languages and translate messages and button texts.

  • QR Code Provider:

    Includes a QR code provider that generates QR codes for connecting to wallets. There is an option to deploy a custom QR code provider API with open-source code on GitHub, speeding up response time and reducing load on the public API.

  • Full Customization:

    Allows complete customization of texts and buttons. Simply inherit the base class and insert your own texts.

Screenshots

Image 1 Image 3 Image 2 Image 4

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.

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiogram-tonconnect-0.11.0.tar.gz (18.6 kB view hashes)

Uploaded Source

Built Distribution

aiogram_tonconnect-0.11.0-py3-none-any.whl (22.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page