Metadata-Version: 2.1
Name: aiogram-tonconnect
Version: 0.0.1
Summary: 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.
Home-page: https://github.com/nessshon/aiogram-tonconnect/
Author: nessshon
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7, <3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiofiles>=23.1.0
Requires-Dist: aiogram>=3.1.1
Requires-Dist: aiohttp>=3.8.6
Requires-Dist: cachetools>=5.3.2
Requires-Dist: pydantic==2.3.0
Requires-Dist: pytonconnect==0.3.0
Requires-Dist: pytoniq-core>=0.1.14
Requires-Dist: redis>=5.0.1

# AiogramTonconnect

**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.

## Installation

```bach
pip install aiogram-tonconnect
```

## Features

* Language Selection: Allow users to choose between supported languages (Russian and English).
* Connect Wallet: Seamlessly connect TON wallets, excluding specified wallets.
* Send Transaction: Initiate and complete transactions with ease.
* Customizable: Easily customize and extend functionality based on your bot's needs.

## Usage

...

## Example

...

#### Callbacks

* **Connect Wallet Before Callback**:\
  Execute actions before initiating the wallet connection.
* **Connect Wallet After Callback**:\
  Execute actions after a successful wallet connection.
* **Send Transaction Before Callback**:\
  Execute actions before initiating a transaction.
* **Send Transaction After Callback**:\
  Execute actions after a successful transaction.

## 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](LICENSE) file for details.

## Donations

...
