{"repo":"RezaTaheri01/telegram-store-bot","free":true,"listed":false,"github":"https://github.com/RezaTaheri01/telegram-store-bot","clone":"git clone https://github.com/RezaTaheri01/telegram-store-bot.git","description":"A Telegram bot that serve as a digital store","language":"Python","stars":10,"topics":["digital-store","python","telegram-bot","orm","polling","django","python-telegram-bot","ton-blockchain","toncoin"],"license":"GPL-3.0","category":"databases-storage","readme_excerpt":"Telegram Store Bot 🛒⚡ A fast, reliable Telegram store bot that allows users to browse products, top up balances using TON cryptocurrency, and purchase items — all from Telegram. Django is used only for the admin panel and ORM models; the bot runs as a standalone async application ( bot.py ). --- Table of Contents 1. Features ✨ 2. Highlights 🚀 3. Setup & Installation 🛠️ 4. Bot Commands 📋 5. TON Polling Overview 🧭 6. Database Notes ⚙️ 7. Best Practices ✅ 8. Architecture Diagram 🧩 9. Security & Privacy 🔐 10. Testing & Development 🧪 11. License 📜 12. Disclaimer 🤖 13. Tutorials --- Features Product browsing by categories 🏷️ Purchase products using TON cryptocurrency 💰 Generate TON payment links 🔗 Track user transactions and purchase history 📝 Background tasks: TON price updater, transaction processor ⏱️ Multi-language support 🌐 Timezone handling ⏰ --- Highlights TON Center API v3 integration with pagination — ensures no on-chain transactions are missed. Thread-safe async usage of Django ORM ( sync to async(thread sensitive=True) ). Atomic, idempotent transaction processing — prevents double-crediting. Purchases lock only one ProductDetail row at a time. LRUCache for recent TX deduplication; TTL caches for settings and price. Clean separation: Django for admin & ORM; bot runs independently. --- Setup & Installation 1. Clone repository: 2. Install dependencies (use virtualenv recommended): 3. Collect static files: 4. Create a .env file: 5. Run migrations & create supe","default_branch":null,"files":null,"tree":[],"storefront":"/r/RezaTaheri01","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/RezaTaheri01/telegram-store-bot/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}