# XPayLabs-example-react **Repository Path**: XPayLabs/XPayLabs-example-react ## Basic Information - **Project Name**: XPayLabs-example-react - **Description**: React example app demonstrating XPay Labs self-hosted crypto payment gateway SDK integration with QR codes and webhooks. - **Primary Language**: JavaScript - **License**: MIT - **Default Branch**: main - **Homepage**: https://www.xpaylabs.com - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-06-21 - **Last Updated**: 2026-06-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: xpay, payment-integration, Cryptocurrency, Blockchain, self-hosted ## README # XPay Labs(简称 xpay)React 示例 — 加密货币支付网关集成演示 [English](README.md) | 中文 这是一个 **React** 示例应用,演示如何将 [XPay Labs(简称 xpay)](https://www.xpaylabs.com) 自托管、非托管加密货币支付网关 SDK 集成到 React Web 应用中。支持在 TRON、EVM 链和 SUI 上接受 USDT/USDC 支付。 ## 功能特性 - 使用 API 凭证初始化 XPay Labs SDK - 创建加密货币收款和付款订单 - 显示支付二维码 - 实时支付状态查询 - Webhook 签名验证演示 - Material UI 组件库 ## 快速开始 ```bash npm install npm install @xpaylabs/node-sdk cp .env.example .env npm start ``` 访问 http://localhost:3001 ## 相关资源 - [XPay Labs 官网](https://www.xpaylabs.com) - [Node.js SDK](https://github.com/yan253319066/XPayLabs-node-sdk) - [Java SDK](https://github.com/yan253319066/XPayLabs-java-sdk) - [Vue 3 示例](https://github.com/yan253319066/XPayLabs-example-vue) ## 许可证 MIT