aiogram-tonconnect seamlessly integrates TonConnect into aiogram bots, simplifying wallet connections and transactions with a ready UI. Effortless middleware for enhancing your aiogram-based 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
Contributions
Contributions, bug reports, and feature requests are welcome. Please feel free to create issues and pull requests.
License
aiogram-tonconnect is licensed under the MIT License. See the LICENSE file for details.
Acknowledgments
This project utilizes the following dependencies to enhance its functionality:
- aiofiles: Asynchronous file operations.
- aiogram: An asynchronous framework for building Telegram bots.
- aiohttp: An asynchronous HTTP client/server framework.
- cachetools: A set of caching utilities.
- pydantic: Data validation and settings management using Python type hints.
- pytonconnect: Python SDK for TON Connect 2.0.
- pytoniq-core: TON Blockchain primitives.
- redis: A Python client for Redis, an in-memory data structure store.
- qrcode-fastapi: Generate QR codes with optional image inclusion, supports base64-encoded.
We extend our gratitude to the maintainers and contributors of these libraries for their valuable contributions to the open-source community.
Donations
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.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3ef34f578a526328a6f5cfe09cf44b5443e82880826d61ccf90e63c4aa182fc |
|
MD5 | 801123a1abb42d1a1d22ceab70337e25 |
|
BLAKE2b-256 | 8d49c5a12e9d9de6ad7752bdd1fd0a0020a716fa31e777015a30bff98bc32f74 |