2025Solo — architecture, backend, database design, payment integration, deployment

TG Service Bot

A Telegram-based marketplace for automated service delivery with integrated Bitcoin payment processing over Tor.

Preview not available

Overview

A bot platform that manages the full lifecycle of digital service transactions — from catalog browsing and purchase intent to fulfillment tracking. Users fund a wallet balance via Bitcoin invoices generated through a self-hosted BTCPay Server, with automatic payment confirmation and USD rate conversion. The system handles service catalog synchronization, order state management, and real-time status polling from external providers.

Tech Stack

TypeScriptFastifyPostgreSQLPrismaBTCPay ServerGrammy

Key Highlights

Bitcoin invoicing with automatic confirmation polling and exchange rate conversion
Tor-routed API communication via SOCKS5 proxy for payment privacy
Wallet-based balance management with transaction ledger and deposit history
Multi-step purchase flow with intent locking, quantity validation, and target input
Background job system for order status synchronization and invoice monitoring
React-based admin panel with service catalog management and order oversight