SUBTC — Building Telegram Bots with Bitcoin Execution
The SUBTC Protocol provides an ideal foundation for building Telegram bots, especially for automation and AI-driven systems.
- Core Idea
Telegram Bot = User Interface<br>SUBTC = Execution Layer
Flow:
User → Telegram Bot → SUBTC API → Bitcoin Network
- Capabilities
Using SUBTC inside a Telegram bot enables:
- Create a wallet per user (
wallet_create)
- Generate receiving addresses (
wallet_receive)
- Check balances (
wallet_balance)
- Send BTC (
wallet_send)
- Wait for incoming payments (
wallet_wait_event)
- Example Flow
- User sends
/start
- Bot creates a wallet
- Bot returns a receiving address
- User sends BTC
- Bot monitors the transaction
- On confirmation → execute action (service, product, access)
- Why SUBTC Fits Telegram Bots
No UI Required:
- No website needed
- No frontend
- Telegram acts as the interface
No RPC:
- No Bitcoin node required
- No infrastructure complexity
CLI / API First:
- Easy integration with Python and Golang
- Ideal for scripts and automation
AI Agent Ready:
- Bots can become intelligent
- Execute trading strategies
- Manage wallets autonomously
- Real Use Cases
Payment Bot:
- Subscriptions
- Donations
- Selling digital services
Game Bot:
- Player vs Player
- Users send SATs
- Winner receives rewards
Trading Bot:
- Monitor price feeds
- Execute buy/sell logic
- Send alerts
Invoice Bot:
- Generate invoices
- Wait for payments
- Unlock services
- Security Notes
- Do not store
SUBTC-KEYinside bot code → use.env
- Use Docker for isolation
- Withdraw funds daily to a cold wallet
- Treat the bot wallet as a temporary hot wallet
- AI Integration
You can connect your bot with:
- ChatGPT
- Claude
- Any AI model
Result:
An intelligent agent that:
- Understands
- Decides
- Executes via SUBTC
Conclusion
SUBTC + Telegram creates a powerful environment for building automated Bitcoin systems without complexity:
- No node
- No RPC
- No UI
Only code and your ideas.