I built a serverless store that sells digital products for USDT
No accounts. No payment processor. No backend server. A buyer sends USDT on Tron, pastes the transaction ID into a Telegram bot, and gets the files in under a minute. Here's how it works and what I'd do differently.
No accounts. No payment processor. No backend server. A buyer sends USDT on Tron, pastes the transaction ID into a Telegram bot, and gets the files in under a minute. Here's how it works and what I'd do differently.
Why crypto-only?
I sell small digital goods: prompt packs, n8n workflows, cold email templates. The kind of thing that costs $5β30. The problem with selling these as an independent maker is not making them β it's getting paid.
Card processors want a business entity, a bank account, and weeks of underwriting. PayPal freezes new seller accounts for review. Stripe isn't available everywhere. For a one-person operation, the overhead eats the margin.
USDT on Tron (TRC-20) changes the math:
- Settlement in ~1 minute, 24/7, no banking hours
- Fees under $1 per transfer
- No chargebacks β final once confirmed
- No KYC on my side as a small seller
The trade-off: the buyer needs a Tron wallet. For my audience (freelancers, indie hackers, crypto-native buyers) that's a small ask.
Architecture
The whole store is two pieces:
1. A static storefront on Cloudflare Workers. One HTML file served from a worker. Product list, prices, a payment modal with the wallet address and a QR code. No database, no sessions. Cloudflare's free tier handles the traffic.
2. A Telegram bot for delivery. This is the fun part. The bot does payment verification against the Tron blockchain:
- Buyer picks a product, sends USDT to the wallet
- Bot asks for the transaction hash (TXID)
- Bot queries the TronGrid API for confirmed TRC-20 transfers to my address
- If the TXID is in there, the amount matches, and the TXID hasn't been used before β files are delivered instantly
- Each TXID is burned after use, so one payment can't claim two products
The verification code is ~40 lines of Python. The tricky detail: TronGrid returns addresses in hex, while wallets display base58 (T... format). Comparing them directly always fails β you have to decode one side first. I lost an hour to that.
What I learned
1. Trust is the product. Nobody sends crypto to an anonymous site on faith. The store shows the wallet address as a QR, links the on-chain address on Tronscan (so anyone can verify it exists and has history), and delivers through a Telegram bot with a visible track record. Every piece of friction you remove from "is this legit?" converts better than any discount.
2. Telegram is underrated as a storefront. No app install for the buyer, no support inbox to manage, and the whole payment conversation is a natural audit log. When something goes wrong, I can see exactly what the buyer did.
3. Start with a test SKU at $0.50. Before any real marketing, I bought my own product with a real wallet. That one test exposed three bugs that would have cost real sales: the hex/base58 issue, a dead TronGrid endpoint, and a race where a buyer could paste the TXID before confirmation.
4. Keep the catalog small. Three products that work beat thirty that confuse. Each product page answers: what is it, who is it for, what do I get, how do I pay.
The stack
- Cloudflare Workers (free tier) β storefront
- Python + python-telegram-bot on a $4 VPS β delivery bot
- TronGrid API β payment verification, no API key needed for read-only queries
- segno β QR code generation
- USDT TRC-20 β payments
Total running cost: about $4/month.
Where it stands
The store is live, the first real sale cleared end-to-end (payment β verification β file delivery in one message chain), and I'm adding products from the content I already use in my own work.
If you're curious how the verification logic looks, or you're building something similar, the product I'm most asked about is the n8n lead-gen workflow β it's the one with all the production details. I put everything I use in one place:
π Konstantin's Toolkit β prompt packs, automation workflows, and business templates, sold for USDT, delivered by bot.
Happy to answer questions about the Tron verification part in the comments β that bit took the most debugging.
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes β full credit and traffic to the original publisher.