TON Connect UI for aiogram bots.
Project description
📦 aiogram TON Connect
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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for aiogram-tonconnect-0.11.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e6bb7a797a233ddbf9eb85fde5e891e7a479932d7ef4412bbe860456caf3ae0 |
|
MD5 | 510f9c13a1697fa99c98d3aa0f550ac0 |
|
BLAKE2b-256 | 306c7b24b4c539c1df20fe7573063192d00b188d4ed38197308ae44610c1d654 |
Hashes for aiogram_tonconnect-0.11.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8af83fd5f00c66739e17bca1092bf766f280a2dc8078f1cefa9fa3fa81b838b1 |
|
MD5 | 0af28ffb6fd6e0475aa8e62a04102cac |
|
BLAKE2b-256 | 6616fd11aadfb5e7eca1312c4baed3bdd295c3f579f2b1867510d2801f1e40b0 |