MicroAI Paygate
An x402-style payment gateway for AI requests. Sign EIP-712, get a signed receipt, verify the signature client-side.
Explore LamportPay’s non-custodial payment journey: Solana wallets, Jupiter swap quotes, USDC settlement and Stables bank-payout sandbox.
Translation pending
FinanceTypeScript · CSSGitHub @lamportpayOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Crypto in. Local money out. Non-custodial stablecoin (USDC/USDT on Solana) to bank payout, powered by Stables. TanStack Start + Supabase.
Translation pending
Taken from the repository README
Loading the full README.
Read the full 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.