Metadata-Version: 2.4
Name: ton-connect
Version: 0.0.2
Summary: Python SDK for TON Connect — wallets, transactions, signing, and verification.
Author: nessshon
Maintainer: nessshon
License-Expression: MIT
Project-URL: Homepage, https://github.com/nessshon/ton-connect/
Project-URL: Examples, https://github.com/nessshon/ton-connect/tree/main/examples/
Keywords: AsyncIO,SDK,TON,TON blockchain,Ton Connect,The Open Network,blockchain
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Framework :: AsyncIO
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: <3.15,>=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp>=3.7.0
Requires-Dist: pydantic<3.0,>=2.0
Requires-Dist: PyNaCl>=1.5.0
Requires-Dist: ton-core>=0.3.0
Dynamic: license-file

# 📦 TON Connect

[![TON](https://img.shields.io/badge/TON-grey?logo=TON&logoColor=40AEF0)](https://ton.org)
![Python Versions](https://img.shields.io/badge/Python-3.10%20--%203.14-black?color=FFE873&labelColor=3776AB)
[![PyPI](https://img.shields.io/pypi/v/ton-connect.svg?color=FFE873&labelColor=3776AB)](https://pypi.python.org/pypi/ton-connect)
[![License](https://img.shields.io/github/license/nessshon/ton-connect)](https://github.com/nessshon/ton-connect/blob/main/LICENSE)
[![Donate](https://img.shields.io/badge/Donate-TON-blue)](https://tonviewer.com/UQCZq3_Vd21-4y4m7Wc-ej9NFOhh_qvdfAkAYAOHoQ__Ness)

![Image](https://raw.githubusercontent.com/nessshon/ton-connect/main/assets/banner.png)

![Downloads](https://pepy.tech/badge/ton-connect)
![Downloads](https://pepy.tech/badge/ton-connect/month)
![Downloads](https://pepy.tech/badge/ton-connect/week)

### Python SDK for [TON Connect](https://github.com/ton-connect)

Wallet connections, transactions, data signing, and proof verification for TON.

**Features**

- **Wallet Connection** — connect and manage wallet sessions
- **Send Transaction** — sign, send, and handle errors
- **Sign Data** — text, binary, and cell payloads
- **TON Proof** — wallet ownership verification
- **Storage** — file, memory, or custom backend

> Support this project — TON: `donate.ness.ton`  
> `UQCZq3_Vd21-4y4m7Wc-ej9NFOhh_qvdfAkAYAOHoQ__Ness`

## Installation

```bash
pip install ton-connect
```

## Examples

**Connect Wallet**

- [Simple Connect](https://github.com/nessshon/ton-connect/blob/main/examples/connect_wallet/ton_addr.py)
- [Connect with TON Proof](https://github.com/nessshon/ton-connect/blob/main/examples/connect_wallet/ton_proof.py)
- [Import Connection](https://github.com/nessshon/ton-connect/blob/main/examples/import_connection.py)

**Send Request**

- [Send Transaction](https://github.com/nessshon/ton-connect/blob/main/examples/send_request/transaction.py)
- [Sign Data](https://github.com/nessshon/ton-connect/blob/main/examples/send_request/sign_data.py)

**Verification**

- [Check TON Proof](https://github.com/nessshon/ton-connect/blob/main/examples/check_ton_proof.py)
- [Check Sign Data](https://github.com/nessshon/ton-connect/blob/main/examples/check_sign_data.py)

## License

This repository is distributed under the [MIT License](https://github.com/nessshon/ton-connect/blob/main/LICENSE).
