From 762a6267f8319da4e5353f8710f0631c96b7ff02 Mon Sep 17 00:00:00 2001 From: bohd4nx Date: Sun, 5 Jul 2026 16:25:22 +0300 Subject: [PATCH] docs: update troubleshooting and installation documentation, clarify Python version, and improve quickstart example formatting --- docs/advanced/troubleshooting.md | 2 +- docs/getting-started/installation.md | 2 +- docs/getting-started/quickstart.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/advanced/troubleshooting.md b/docs/advanced/troubleshooting.md index 1eed9fb..48c0a53 100644 --- a/docs/advanced/troubleshooting.md +++ b/docs/advanced/troubleshooting.md @@ -50,7 +50,7 @@ Actions: ## SSL-related broadcast failures -If you get SSL-related transaction errors: +If you get SSL-related errors during **TON transaction broadcast** (not Fragment page loading — those use curl_cffi with bundled SSL): ```bash pip install --upgrade certifi diff --git a/docs/getting-started/installation.md b/docs/getting-started/installation.md index 4b0e01b..a637e36 100644 --- a/docs/getting-started/installation.md +++ b/docs/getting-started/installation.md @@ -4,7 +4,7 @@ You can be up and running in under a minute. ## Requirements -- Python 3.10 – 3.14 +- Python 3.11 – 3.14 ## Install from PyPI diff --git a/docs/getting-started/quickstart.md b/docs/getting-started/quickstart.md index 139b895..e866f34 100644 --- a/docs/getting-started/quickstart.md +++ b/docs/getting-started/quickstart.md @@ -23,15 +23,15 @@ async def main() -> None: api_provider="tonapi", # or "toncenter" ) as client: wallet = await client.get_wallet() - print(f"GRAM: {wallet.gram_balance} | USDT: {wallet.usdt_balance}") + print("GRAM: %s | USDT: %s" % (wallet.gram_balance, wallet.usdt_balance)) recipient = "https://t.me/username" # also: @username, username stars = await client.purchase_stars(recipient, amount=500, payment_method=PaymentMethod.USDT_GRAM) - print(f"Sent {stars.amount} Stars to {stars.username} | tx: {stars.transaction_id}") + print("Sent %s Stars to %s | tx: %s" % (stars.amount, stars.username, stars.transaction_id)) premium = await client.purchase_premium(recipient, months=6, payment_method=PaymentMethod.GRAM) - print(f"Sent Premium {premium.amount}m to {premium.username} | tx: {premium.transaction_id}") + print("Sent Premium %sm to %s | tx: %s" % (premium.amount, premium.username, premium.transaction_id)) asyncio.run(main())