Official documentation for XPayLabs. Crypto payment infrastructure, TRON USDT payments, x402 payments, APIs, SDKs, and merchant integration guides.
Self-hosted crypto payment gateway supporting TRON (TRC20), EVM chains, and SUI. Accept USDT/USDC payments with zero gateway fees, fully non-custodial, white-label ready. Deploy via Docker.
Self-hosted, non-custodial crypto payment gateway — multi-chain USDT/USDC payments with Docker Compose
Self-hosted crypto payment gateway Node.js SDK. Accept USDT/USDC on TRON TRC20, EVM chains, and SUI with zero gateway fees.
Self-hosted white-label crypto payment checkout page. Vue 3 + TypeScript multi-chain payment UI for USDT/USDC.
Full e-commerce Vue 3 demo with XPay Labs crypto payment integration. Product catalog, cart, and USDT/USDC checkout.
V1.0 — XPay Labs(简称 xpay)是一款私有化、容器化的自托管支付基础设施,支持 TRON、所有 EVM 链和 SUI。完全非托管、白标商户网关,专为开发者打造。
XPay Labs(简称 xpay) 是一款自托管加密支付网关,支持在 TRON(TRC20)、EVM 链(Ethereum、BSC、Polygon、Arbitrum、Optimism、Avalanche)和 SUI 上接受稳定币支付(USDT、USDC)——零网关费,私钥完全自持。原生多商家架构——一套部署可入驻无限商户,独立 API 凭证和可配置的费率结构。
| 特性 | XPay Labs | BitPay | Coinbase Commerce | NowPayments |
|---|---|---|---|---|
| 手续费 | 零(仅链上 Gas) | 每笔 1% | 0.8% + $25/月 | 每笔 0.5% |
| 资产托管 | 非托管 | 托管 | 托管 | 托管 |
| 支持链 | TRON, EVM, SUI | BTC, ETH, LTC | ETH, Base 少量 | BTC, ETH, 50+ |
| 白标 | 是 | 否 | 有限 | 否 |
| 部署方式 | 自托管 (Docker) | 云托管 | 云托管 | 云托管 |
| Webhook | HMAC 签名 + 重试队列 | 有限 | 基础 | 基础 |
# 克隆官方部署仓库
git clone https://github.com/yan253319066/XPayLabs-docker.git
cd XPayLabs-docker
# 部署网关
docker compose up -d
编辑 .env 文件设置 XPAY_SEED_PHRASE、RPC 端点和 Webhook URL。网关可通过 http://localhost:180 访问(由 .env 中的 HOST_PORT_GATEWAY_HTTP 控制)。
完整的 Docker Compose 和 Kubernetes 部署指南请查看开发文档。
npm install
npm run dev
浏览器访问 http://localhost:3000。
GitHub: yan253319066/XPayLabs Gitee(镜像): XPayLabs/XPayLabs