Commit Graph

9 Commits

Author SHA1 Message Date
bohd4nx d2faa27c5c ci: update actions to checkout@v6, setup-python@v6 2026-03-05 04:12:09 +02:00
bohd4nx 91d33a0972 ci: add dependabot and pytest workflow 2026-03-05 04:10:57 +02:00
bohd4nx e3706f01bf refactor: migrate to tonutils v2, pytest, pyproject.toml
- tonutils 2.0.0: TonapiClient → ToncenterV3Client, wallet.transfer()
- classes → plain async functions across all utils and methods
- core/: constants.py, cookies.py, exceptions.py extracted
- DEVICE constant in constants.py (single source of truth)
- account/device serialised with json.dumps() in all tx payloads
- tests: unittest → pytest, conftest.py fixtures, 001/002 naming
- pyproject.toml: pytest + ruff config
- min balance check: 0.056 TON
2026-03-05 04:08:35 +02:00
bohd4nx b1eae1dcb7 feat: Refactor cookie handling and hash retrieval; update environment configuration and improve logging levels 2026-01-19 19:02:28 +02:00
bohd4nx d299a1f804 feat: Refactor configuration handling and enhance logging setup; update imports and improve error handling in API methods 2026-01-18 06:41:08 +02:00
bohd4nx 76473993e2 feat: Enhance Fragment API with improved error handling and clean_decode utility; (#1) update version and dependencies 2025-11-24 19:52:22 +02:00
bohd4nx 49cf8843bc fix: Update README and SVG logo, correct import paths in utils 2025-11-03 06:01:56 +08:00
bohd4nx 8adfaf4ad2 feat: Implement ApiClient and WalletLinker classes for transaction handling 2025-11-03 06:01:53 +08:00
bohd4nx 760c853acd feat: Add Fragment API for TON topups, Telegram Premium purchases, and Stars transactions
- Implemented Fragment API with methods for TON topups, Premium gifts, and Stars purchases.
- Created configuration management using environment variables.
- Added detailed README documentation for installation, configuration, and usage.
- Developed utility classes for API client, wallet linking, and transaction processing.
- Included example usage in main.py for easy demonstration of API functionalities.
- Updated requirements.txt with necessary dependencies.
2025-11-03 05:58:34 +08:00