Back to the list
xanggate.rentaicoder.com
Xăng Gate
Domestically-paid Claude API gateway, split by RS256 JWT
Vietnamese developers who cannot get an international card also cannot buy an AI API key. Xăng Gate sits in between: it takes a domestic transfer and issues a key that works immediately with Claude Code and the SDKs.
Visit product— Xăng Gate (opens in a new tab)
- Lit 3
- Vite
- ASP.NET Core 10
- Docker
- JWT RS256
§ 01 — Algorithm
ManaGate ── JWT ký RS256 ──▶ IRIS Proxy
(cửa hàng, dashboard, (proxy tới nhà cung cấp AI,
thanh toán, admin) rate limit, quota)
POST /admin/keys/generate
Authorization: Bearer <jwt>
alg = RS256 (RsaSecurityKey, RsaSha256)
# Vì sao bất đối xứng: IRIS chỉ cần PUBLIC key để xác minh.
# Hai dịch vụ không phải chia sẻ secret đối xứng.
⚠ trong code: thiếu RSA private key thì rơi về alg = None với khoá rỗng.
Chỉ hợp lệ cho môi trường dev.§ 02 — Highlights
- Fully domestic payment: QR bank transfer, VNPay, MoMo — no international card needed
- Keys activate immediately and work with Claude Code and compatible SDKs
- Two separate services authenticated by RS256 JWT — no shared symmetric secret
- Dashboard shows each key's remaining validity as a fuel gauge
- Sliding-window rate limiting at the proxy layer
- Admin console: users, orders, system metrics, provider quota
§ 03 — Screens


