target: < 5 s from “connect”
referrals live in the data-model core
Key fragment of the user flow
target: from “connect” to connection
pay on an unfamiliar site
Hypothesis: if purchase lives where the user already is, and setup comes down to importing a ready profile, the entry barrier drops.
Telegram Bot · MiniApp · web
Bot API · Auth · Billing · VPN Manager (WireGuard/VLESS/Outline) · Key Gen · Payments
VPS servers · Marzban panel
telegram id
balance
referral_id
plan · expire
device_limit
server_region
device_id
linked to subscription
method · amount
status · tx_hash
Growth is built into the schema: referrals in USER, crypto in PAYMENT, plans scale without a DB rebuild