MicroAI Paygate
An x402-style payment gateway for AI requests. Sign EIP-712, get a signed receipt, verify the signature client-side.
翻译准备中
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Crypto in. Local money out. Non-custodial stablecoin (USDC/USDT on Solana) to bank payout, powered by Stables. TanStack Start + Supabase.
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗From your Solana wallet to a bank account. Non-custodial.
LamportPay is a cash-out route for people who hold crypto on Solana but pay rent, school fees and family bills in local currency. Instead of moving funds to an exchange or trusting a stranger on a P2P marketplace, the user pays out from their own wallet in one guided flow:
Your wallet ──(Jupiter swap, only if needed)──▶ USDC in your wallet
──(one transaction, signed by you)──▶ licensed payout partner
──▶ fiat conversion ──▶ your bank account (or a named beneficiary's)
LamportPay orchestrates the route. It never holds customer funds, keys or identity documents: the user signs every movement of money, and KYC and fiat payout are handled by our licensed payout partner, Stables.
Status: Devnet / Sandbox. The full flow runs end to end on Solana devnet and the partner's sandbox for US, UK, India and the Philippines. No real funds move. Live mode (mainnet + production partner) is built behind a server-side switch and stays off until an independent security audit and a controlled real-money test are complete.
/pay)Getting value from a wallet into a bank account still means one of two compromises: hand custody to an exchange, or depend on a counterparty you don't know. We wanted a route where the user keeps control the whole way, sees the full cost before signing, and knows exactly which bank account will be paid.
order / execute, signed by the user, funds stay in the user's wallet) is built but runs only in Live mode, because Jupiter has no devnet. The step is skipped for users who already hold USDCtransfer.created webhooks, so sandbox status changes arrive through sync and reconciliation| Corridor | Currency | Status |
|---|---|---|
| United States | USD | Sandbox |
| United Kingdom | GBP | Sandbox |
| India | INR | Sandbox |
| Philippines | PHP | Sandbox |
| Nigeria | NGN | Planned (sandbox transfers stay in_progress) |
| Pakistan | PKR | Planned |
| Layer | Choice |
|---|---|
| App | TanStack Start + Vite, React, Tailwind |
| Solana | @solana/web3.js, Solana wallet adapter (Phantom, Solflare) |
| Swap | Jupiter Swap V2 API behind an authenticated server-side relay (each order relayed once) |
| Payout partner | Stables API (sandbox); webhooks verified with Svix signatures |
| Database | Supabase Postgres with row-level security and versioned migrations (supabase/migrations) |
| Hosting | Vercel |
Key design decisions:
src/routes/ marketing site, /pay app, admin, API routes (src/routes/api)
src/lib/payments/ fee math, limits, payment state, reconciliation
supabase/migrations/ database schema, RLS and privilege hardening
tests/ unit and integration tests (Vitest)
scripts/ webhook sender, reconciliation, secret scan
docs/ roadmap, architecture, security and testing records
Key docs: docs/ROADMAP.md · docs/wallet-settlement-design.md · docs/stables-sandbox-runbook.md · docs/security/pre-live-security-checklist.md · docs/testing/real-money-test-plan.md
npm install
cp .env.example .env # devnet RPC, Supabase, partner sandbox and Jupiter keys
npm run dev # http://localhost:8080
npm run test:unit # Vitest unit suite (what CI runs)
npm test # also runs integration suites that need `npm run dev` on :8080
npm run typecheck && npm run lint && npm run build
Never commit .env. scripts/check-repo-secrets.mjs scans for leaked secrets.
LamportPay started on 28 July 2026 as a prototype built with Lovable. That export is the first commit in this repository (11365b0, "Baseline: original LamportPay export (Lovable)"): the marketing site, a demo send flow with mock data, a small SOL → USDC swap demo using Jupiter's quote/order/execute routes, Solana transaction checks, a placeholder payout API and Supabase auth.
During the Colosseum hackathon period (commits from 26 September 2026) the team built the product on top of that prototype: the Stables payout integration (customers, KYC, bank validation, transfers, deposits), signed webhooks and reconciliation, the /pay app, the Jupiter swap layer inside the payment flow (secured relay, swap only when required), the non-custodial 2% fee split, the admin app, Devnet/Live modes, wallet identity, security hardening and tests. /pay replaced the demo /send flow as the product path.
We use AI-assisted development tools alongside our own engineering. Every change is reviewed and tested by the team before it ships: the unit suite currently runs 509 tests, and CI runs a secret scan, type checks, lint, the unit tests, a production build, a client-bundle secret scan and a dependency audit on every push.
Zoaib Ali (Founder & CEO) · Ghazanfar Abbas (CTO & Lead Developer) · Izzat Iftikhar (Marketing & Community) · Zaheer Muneer (Advisor) · Safi Ullah Adam (Advisor, Technology & AI) · Greg Mirt (Advisor)
Copyright 2026 Lamport Pay Ltd. Licensed under the Apache License 2.0.