CyberBot
Telegram wallet + approval bot.
Overview
CyberBot is the Telegram entry point for CyberNanoPay. Through Bot commands and Mini App, users can manage wallets, check balances, and approve high-value payments anytime, anywhere.
Bot Commands
| Command | Description |
|---|---|
/start | Welcome message |
/wallet | Open Mini App wallet |
/balance <addr> | Check balance |
/approvals | View pending approvals |
/policy <addr> | View spending policy |
/stats | System statistics |
HITL Approval Flow
TEE detects high-value payment
β POST /notify β Bot sends approval request
β Admin clicks β
Approve or β Reject
β Bot calls TEE /approve or /rejectMini App
Telegram embedded Web App providing:
- Wallet balance view
- Deposit/Withdraw
- Transaction history
- Spending policy settings
Components
| Component | Port | Description |
|---|---|---|
| Telegram Bot | - | grammy long polling |
| HTTP Server | 4032 | Receives TEE notifications |
| Mini App | 4033 | Telegram Web App |
Use Cases
- High-value payment human approval (Human-in-the-Loop)
- Mobile wallet management
- Real-time transaction notifications
- Team multi-sig approval
