How stepan1604/numbershop works
NumberShop is a Telegram storefront for virtual numbers and accounts. Buyers accept terms, browse a country-grouped catalog, select an item, pay through YooMoney, and receive purchase details and a login code; administrators manage inventory, roles, settings, and support workflows. The graph separates bot workflows, payment and code providers, and persistence. README documents several major workflows whose handlers are in unsampled portions of bot.py; their internal call paths are therefore not asserted.
Main entry points: bot.py Buyer and admin workflows · database.py Database operations
Components 15
Telegram bot
- Buyer and admin workflows
bot.py - Catalog and selection
bot.py - Inventory and roles
bot.py
Commerce and fulfillment
- Payment and purchase
bot.py - Code delivery
bot.py - Telethon sessions
bot.py - Health and payment webhook
bot.py
Persistence
- Database operations
database.py - Catalog and purchases
database.py - Roles and settings
database.py
Other components
- Buyer
- Administrator
- Telegram Bot API
- YooMoney
- LZT Market API
Connections 19
- Buyer → Telegram Bot API: sends updates
README.md - Telegram Bot API → Buyer and admin workflows: dispatches updates
- Administrator → Telegram Bot API: sends commands
- Buyer and admin workflows → Catalog and selection: opens shop
bot.py - Catalog and selection → Database operations: loads products
bot.py - Buyer and admin workflows → Payment and purchase: selects item
bot.py - Payment and purchase → YooMoney: checks payment
README.md - Payment and purchase → Database operations: records purchase
bot.py - Payment and purchase → Code delivery: requests code
bot.py - Code delivery → LZT Market API: requests code
README.md - Code delivery → Telethon sessions: retrieves code
README.md - Buyer and admin workflows → Inventory and roles: handles admin actions
bot.py - Inventory and roles → Database operations: manages inventory
bot.py - Inventory and roles → LZT Market API: buys listed item
README.md - Buyer and admin workflows → Health and payment webhook: serves endpoint
bot.py - Health and payment webhook → YooMoney: receives webhook
README.md - Database operations → Catalog and purchases: reads and writes
database.py - Database operations → Roles and settings: reads and writes
database.py - Buyer and admin workflows → Database operations: loads admin roles
bot.py