Metadata-Version: 2.1
Name: tonconnect
Version: 0.0.3
Summary: TON Connect - Python library for using TON Connect 2.
Author: Vlad100
Description-Content-Type: text/markdown
Requires-Dist: pynacl
Requires-Dist: requests
Requires-Dist: tonsdk
Project-URL: Documentation, https://github.com/ClickoTON-Foundation/tonconnect
Project-URL: Homepage, https://github.com/ClickoTON-Foundation/tonconnect
Project-URL: Repository, https://github.com/ClickoTON-Foundation/tonconnect/

# TON Connect for Python

Library for connecting TON Connect to Python apps.

## Description

At this moment you can connect wallets to apps using HTTP Bridge.

## Getting Started

### Dependencies

* PyNaCl
* tonsdk (will be removed in the future)

### Installing

```
git clone https://github.com/ClickoTON-Foundation/tonconnect.git
pip install -e tonconnect
```

### Using

Example of connecting wallet.

```python
from tonconnect.connector import Connector


connector = Connector('https://tonclick.online/ton-connect.json')
url = connector.connect('tonkeeper', 'test')

print(f'Universal connect url for Tonkeeper: {url}')

address = connector.get_address()
print(f'Successfuly connected {address}.')
```

## Authors

[@Vlad10081](https://t.me/dalvgames)

## Version History

* 0.0.1
    * Initial Beta

## License

This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details

## Donate

If you liked the library, I will be glad to donate.

* TON: EQCgphx8rTI0PukwmgpVqiPgqguTujhQscg2h7jgc4U0t347

## Acknowledgments

* [ton-connect-docs](https://github.com/ton-blockchain/ton-connect)
* [ton-connect-js-sdk](https://github.com/ton-connect/sdk)

