https://github.com/ilyarolf/AiogramShopBot
Open-source Telegram e-commerce bot built with Aiogram 3 for selling digital and physical goods with crypto payments and referral system.
https://github.com/ilyarolf/AiogramShopBot
aiogram3 binance-coin bitcoin cryptocurrency ethereum litecoin postsgresql shop solana sqladmin sqlalchemy store telegram telegram-ecommerce telegram-shop telegram-store tether usd-coin usdc usdt
Last synced: about 2 months ago
JSON representation
Open-source Telegram e-commerce bot built with Aiogram 3 for selling digital and physical goods with crypto payments and referral system.
- Host: GitHub
- URL: https://github.com/ilyarolf/AiogramShopBot
- Owner: ilyarolf
- License: mit
- Created: 2023-03-08T15:36:50.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2026-04-14T22:08:39.000Z (about 2 months ago)
- Last Synced: 2026-04-14T23:17:37.495Z (about 2 months ago)
- Topics: aiogram3, binance-coin, bitcoin, cryptocurrency, ethereum, litecoin, postsgresql, shop, solana, sqladmin, sqlalchemy, store, telegram, telegram-ecommerce, telegram-shop, telegram-store, tether, usd-coin, usdc, usdt
- Language: Python
- Homepage: https://t.me/demo_aiogramshopbot
- Size: 1.15 MB
- Stars: 167
- Watchers: 3
- Forks: 60
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Support: SUPPORT.md
Awesome Lists containing this project
- awesome-telegram - AiogramShopBot - source Telegram shop bot built with Aiogram 3, supporting digital and physical product sales, cryptocurrency payments (BTC, ETH, LTC, SOL, BNB, USDT), referral system and web admin panel._ (OpenSource / OpenSource Bots)
README
AiogramShopBot
๐๏ธ Production-style Telegram shop bot with crypto payments, admin flows, FastAPI webhooks, and multibot support.
[](https://www.python.org/downloads/release/python-3127/)
[](https://hub.docker.com/r/ilyarolf/aiogram-shop-bot)
[](https://www.sqlite.org/)
[](https://github.com/bitcoin/bitcoin)
[](https://dogecoin.com/)
[](https://github.com/litecoin-project/litecoin)
[](https://github.com/solana-labs/solana)
[](https://github.com/ethereum)
[](https://github.com/binance)
[](https://tether.to/)
[](https://www.usdc.com/)
**AiogramShopBot** is an open source Telegram shop bot built with **Aiogram 3**, **FastAPI**, **SQLAlchemy async**, **PostgreSQL**, **Redis**, **Docker Compose**, and **SQLAdmin**. It helps you sell **digital goods** and **physical goods** inside Telegram with built-in **cryptocurrency payments**, **shopping cart**, **purchase history**, **admin tools**, **shipping**, **reviews**, **coupons**, **analytics**, **referrals**, and **multi-language support**.
This repository is designed for developers and product teams who need a production-style Telegram ecommerce bot with a web admin panel, payment processing, localization, and scalable deployment.
## โจ Why This Project
- Sell digital and physical products directly in Telegram.
- Accept crypto top-ups with Bitcoin, Dogecoin, Litecoin, Solana, Ethereum, Binance Coin, USDT, and USDC networks.
- Manage inventory, users, coupons, shipping, reviews, media, and purchases from Telegram admin flows.
- Use PostgreSQL, Redis, webhook mode, and Docker-based deployment for production setups.
- Extend the project with FastAPI routes, SQLAdmin, repositories, services, and Aiogram handlers.
## ๐ Core Features
- Telegram storefront with categories, subcategories, cart, checkout, and purchase history.
- Admin menu for announcements, inventory, user management, analytics, wallet operations, media, coupons, shipping, buys, and reviews.
- Crypto payment integration with KryptoExpress.
- Referral system with limits and anti-abuse rules.
- Localization through JSON translation files.
- SQLAdmin web panel for database objects.
- Docker Compose setup for local and production-like environments.
- Multibot mode with one main bot and managed child bots.
## ๐งฐ Tech Stack
- Python 3.12
- Aiogram 3
- FastAPI
- SQLAlchemy async
- PostgreSQL
- Redis
- Alembic
- SQLAdmin
- Docker Compose
## โก Quick Start
### ๐ฅ๏ธ Interactive deployment
Run the installer script on your VPS:
```bash
sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/ilyarolf/AiogramShopBot/refs/heads/master/scripts/deploy.sh)"
```
### ๐ป Local development
```bash
git clone https://github.com/ilyarolf/AiogramShopBot.git
cd AiogramShopBot
pip install -r requirements.txt
python run.py
```
You will also need PostgreSQL, Redis, environment variables, and webhook/reverse proxy configuration.
Full setup guide:
- [Deployment and environment variables](docs.md#deployment-and-configuration)
- [Local run example](docs.md#local-development-example)
## ๐ฌ Product Walkthrough
### ๐ณ User balance top-up

### ๐ Product purchase flow

### ๐งพ Purchase history

### ๐ Admin wallet withdrawal

More Telegram bot GIF demos, admin flow examples, and screenshots are available in [docs.md](docs.md#demo-gallery).
## ๐ Documentation
- [Full documentation](docs.md)
- [Deployment and configuration](docs.md#deployment-and-configuration)
- [User manual](docs.md#user-manual)
- [Admin manual](docs.md#admin-manual)
- [Referral system](docs.md#referral-system)
- [Cryptocurrency forwarding](docs.md#cryptocurrency-forwarding)
- [SQLAdmin panel](docs.md#sqladmin-web-admin-panel)
- [Multibot mode](docs.md#multibot-experimental)
## ๐ Community
- [Contributing guide](CONTRIBUTING.md)
- [Code of Conduct](CODE_OF_CONDUCT.md)
- [Security policy](SECURITY.md)
- [Support](SUPPORT.md)
## ๐ฏ Use Cases
- Telegram shop bot for digital products
- Telegram bot for physical goods with shipping
- Crypto-funded Telegram marketplace
- Telegram multibot commerce setup with one manager bot
- Aiogram ecommerce starter project
- FastAPI + Aiogram + SQLAlchemy production template
- Telegram admin panel and back office automation
## ๐ค Commercial Contact
- Demo bot: [@demo_aiogramshopbot](https://t.me/demo_aiogramshopbot)
- Commercial requests: [@ilyarolf_dev](https://t.me/ilyarolf_dev)
## ๐ Donate
- BTC: `bc1q2kv89q8yvf068xxw3x65gzfag98l9wnrda3x56`
- DOGE: `D8BFXqDM7MHf3A4j3kC8wWEN8DqRLVQjax`
- LTC: `ltc1q0tuvm5vqn9le5zmhvhtp7z9p2eu6yvv24ey686`
- SOL: `Avm7VAqPrwpHteXKfDTRFjpj6swEzjmj3a2KQvVDvugK`
- ETH: `0xB49D720DE2630fA4C813d5B4c025706E25cF74fe`
- TON: `UQD0QetwXoYTsmbZWVbE_z_JUFh54RVVRUxCbCHQkLsl3Hfn`
- USDT ERC20: `0xB49D720DE2630fA4C813d5B4c025706E25cF74fe`
- USDT BEP20: `0xB49D720DE2630fA4C813d5B4c025706E25cF74fe`
## โญ Star History
[](https://star-history.com/#ilyarolf/AiogramShopBot&Date)
## ๐ License
[MIT License](LICENSE)