個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證React + TypeScript frontend for x402 Bazaar — API marketplace with wallet connect, dark mode, SEO, and real-time monitoring. Deployed on Vercel.
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
The web interface for the API marketplace where AI agents pay with USDC, not API keys.
x402 Bazaar is an autonomous API marketplace built on the HTTP 402 Payment Required standard. Developers browse services, register their own APIs, and connect their wallets to pay in USDC -- all from a glassmorphism web interface with full bilingual support (English / French).檢視完整 README ↗
x402 Bazaar is an autonomous API marketplace built on the HTTP 402 Payment Required standard. Developers browse services, register their own APIs, and connect their wallets to pay in USDC -- all from a glassmorphism web interface with full bilingual support (English / French).
npx x402-bazaar init prominently featured for instant setup.git clone https://github.com/Wintyx57/x402-frontend.git
cd x402-frontend
npm install
cp .env.example .env # Set VITE_API_URL
npm run dev
Open http://localhost:5173 in your browser.
| Route | Page | Description |
|---|---|---|
/ | Home | Hero with CLI one-liner, live stats, service categories, how-it-works flow |
/services | Services | Searchable service catalog with glass cards, sorting, x402 Native badges |
/services/:id | Service Detail | Individual service page with full description and reviews |
/register | Register | Service registration form with USDC payment flow |
/developers | Developers | API documentation, protocol reference, code examples |
/integrate | Integrate | Integration guides for MCP, ChatGPT, LangChain, and CLI |
/mcp | MCP | MCP server installation for Claude Desktop, Cursor, VS Code, Claude Code |
/playground | Playground | Interactive API playground to test endpoints live |
/compare | Compare | Side-by-side price comparison across services |
/docs | Docs | Full platform documentation |
/status | Status | Service uptime and health monitoring |
/analytics | Analytics | Public usage analytics and traffic stats |
/budget | Budget | Budget calculator for API cost planning |
/faq | FAQ | Frequently asked questions |
/creators | Creators | Guide and benefits for API creators/providers |
/quickstart | Quickstart | Quick start guide to integrate x402 in minutes |
src/
main.tsx Entry point (WagmiProvider, QueryClient, BrowserRouter, LanguageProvider)
App.tsx Route definitions
config.ts API URL + USDC contract ABI
wagmi.ts Wallet config (Base + Base Sepolia, injected + coinbaseWallet)
index.css Tailwind v4 + custom utilities (glass, glow, gradients, animations)
i18n/
translations.ts EN + FR translation strings (~110 keys per language)
LanguageContext.tsx React Context + useTranslation() hook + localStorage
components/
Navbar.tsx Sticky glass navbar + 3 dropdowns + burger menu mobile + language toggle
ConnectButton.tsx Wallet connect/disconnect + responsive compact mode
ServiceCard.tsx Glass card with glow hover + x402 Native badge
CategoryIcon.tsx Category icon mapper for service cards
LanguageToggle.tsx FR/EN toggle pill
ScrollToTop.tsx Scroll reset on route change
pages/
Home.tsx Hero glow orbs, animated stats, categories, how-it-works
Services.tsx Service grid + glass search input + skeleton loading
Register.tsx Glass form + USDC payment flow + validation
Developers.tsx API docs with scroll reveal + code examples
Integrate.tsx Agent integration guide (JS + Python, use cases)
MCP.tsx MCP server setup guide (CLI + manual accordion)
Playground.tsx Interactive API playground
Compare.tsx Side-by-side price comparison
Docs.tsx Full platform documentation
Status.tsx Service uptime monitoring
Analytics.tsx Public usage analytics
Budget.tsx Budget calculator
FAQ.tsx Frequently asked questions
Creators.tsx Guide for API providers
Quickstart.tsx Quick start guide
hooks/
useReveal.ts IntersectionObserver for scroll animations
| Layer | Technology |
|---|---|
| Framework | React 19 |
| Build | Vite 7 |
| Styling | Tailwind CSS v4 |
| Wallet | wagmi + viem (Base + SKALE on Base + Polygon) |
| Routing | React Router v7 |
| State | TanStack React Query |
| i18n | Custom React Context (EN/FR) |
| Deployment | Vercel (auto-deploy on push) |
| Domain | x402bazaar.org (Namecheap + Vercel DNS) |
| Variable | Description |
|---|---|
VITE_API_URL | Backend API URL (default: https://x402-api.onrender.com) |
VITE_NETWORK | mainnet or testnet |
npm run dev # Start dev server (localhost:5173)
npm run build # Production build to dist/
npm run preview # Preview production build locally
npm run lint # Run ESLint
npm run test # Run test suite (Vitest)
The frontend auto-deploys to Vercel on every push to main.
Contributions are welcome. See CONTRIBUTING.md for guidelines on how to get started, coding standards, and the pull request process.
| Repository | Description |
|---|---|
| x402-backend | API server, 112 native endpoints, payment middleware, MCP server |
| x402-frontend | React + TypeScript UI (this repo) |
| x402-bazaar-cli | npx x402-bazaar -- CLI with 7 commands |
| x402-sdk | TypeScript SDK for AI agents |
| x402-langchain | Python LangChain tools |
| x402-fast-monetization-template | FastAPI template to monetize any Python function |
Live: x402bazaar.org | API: x402-api.onrender.com | CLI: npx x402-bazaar init
MIT