Self-host xcash
v0.6.0Open-source self-hosted crypto payment gateway
- Stars
- 189
- CPU
- 1 core (low) / 4 cores (medium) / 8 cores (high)
- RAM
- 2 GB (low) / 8 GB (medium) / 16 GB (high)
- Ports
- 6688 (HTTP (Caddy reverse proxy entry point)), 80 (HTTP (container internal, mapped to 6688 on host))
- Requires
- Caddy, EVM RPC provider (QuickNode/Alchemy/Infura), PostgreSQL, Redis
ghcr.io/xca-sh/xcashWhat is xcash?
Xcash is a non-custodial crypto payment gateway you host yourself. It accepts stablecoins like USDT and USDC on major EVM networks and Tron, sending funds directly to your wallet via smart contracts — no platform custody, no per-transaction fees, no KYC. Two modes: invoices for orders and subscriptions, plus dedicated deposit addresses for user balances. Includes a Django admin panel, HMAC-SHA256 REST API, webhooks with retry and idempotency, optional MistTrack AML scoring, EPay V1 compatibility for Xboard and V2board, and a WooCommerce plugin. Deployed via Docker Compose with PostgreSQL, Redis, and Caddy using an init script. Self-hosted is free; a managed cloud option also exists.
Should you self-host xcash?
xcash scores 46/100 on selfhost.directory (how scoring works) and ranks #29 of 42 in Cryptocurrency. It has 189 GitHub stars.
It shipped 2 stable releases in the past year. The latest, v0.6.0, came out on 30 July 2026. New versions land roughly every 3 weeks.
Setup is advanced: plan for several services and some ongoing maintenance. An official Docker image is available. It is MIT-licensed and written mostly in Python.
Its closest alternative on selfhost.directory is payram-mcp (47/100, 158 stars). It scores higher overall, so compare the two before you pick. See xcash vs payram-mcp side by side.
Features
- Admin Dashboard
- AML risk scoring (MistTrack)Optional, requires QuickNode MistTrack add-on
- Batch sweep to reduce gas
- Deposit addresses
- Docker Compose Deployment
- EPay V1 protocol compatibility
- HMAC-SHA256 API authentication
- Invoice payments
- Multi-chain support (EVM + Tron)
- Multi-merchant multi-project isolation
- Non-custodial payments
- Smart contract & wallet collection modes
- Webhook Notifications
- WooCommerce plugin
- Zero platform fees
xcash README
FAQ
Xcash 支持哪些加密货币?
All ERC-20 tokens on EVM-compatible chains (Ethereum, BNB Chain, Polygon, Arbitrum, Base, Optimism, etc.) such as USDT, USDC; on Tron: USDT and native TRX.
钱包直收和智能合约收款有什么区别?
Both are non-custodial. Smart contract mode assigns per-invoice contract addresses from a pool, buyers pay exact amounts, suited for high concurrency, with auto-sweep to collection address. Wallet direct collection sends payments to your configured wallet, no sweep gas, uses 0.01 amount suffixes to distinguish concurrent invoices. EVM wallet direct doesn't support native coins; deposits always use smart contracts.
Xcash 如何保证资金安全?
Smart contracts lock the fund flow to your collection address, which cannot be changed once written. Even if Xcash servers are compromised, funds remain safe because Xcash only handles invoice matching, status transitions, and notifications — never touching funds.
Xcash 和 BTCPay Server 有什么区别?
Xcash focuses on EVM chains and Tron with arbitrary ERC-20 token support and per-invoice smart contract addresses, while BTCPay Server primarily targets Bitcoin. Xcash also provides deposit addresses, multi-merchant isolation, and MistTrack AML scoring.
什么是 Xcash?
Xcash is a non-custodial cryptocurrency payment gateway offered as a managed cloud service or self-hosted. Payments via invoices and deposits go directly to your collection address via smart contracts; Xcash never holds funds. Supports major EVM chains and Tron.
More in Finance
Bitcoin CoreBitcoin Core integration/staging tree
Bitcoin KnotsSelf-hosted Bitcoin full node with wallet and GUI option, based on Bitcoin Core with extra features. Run on Linux, Windows, or macOS to validate the blockchain yourself.
Bitcoin Seed ToolBitcoin Seed Tool is a self-hosted, open-source web app for learning Bitcoin wallet seed generation, BIP39, BIP85, BIP47, and passphrase verification.
bleskomat-serverSelf-hosted open-source web server for Lightning Network payments on Bleskomat Bitcoin ATMs with optional admin interface and multiple database backends.
BudgetZeroFree open-source privacy-friendly offline-first budgeting with zero-based envelope methodology. Self-host via Docker or static files as an alternative to YNAB style apps.
cashu.meCashu.me is a self-hosted, open-source PWA wallet for the Cashu ecash protocol. Send/receive Bitcoin via Lightning using blinded bearer ecash tokens stored locally.
CurrencyinfoSelf-hosted open-source REST API aggregating crypto and fiat rates from up to ten sources into one merged rate.
hubSelf-hosted Bitcoin Lightning wallet implementing NWC to connect with dozens of apps, supporting multiple Lightning backends and features like sub-wallets and auto-swaps.
Market Research CockpitSelf-hosted open-source market dashboard for A-shares, HK, US stocks, commodities, treasuries, sector heat, money flow, news, industry chains, and AI token tracking.
nostr-wallet-connectSelf-hosted, open-source NIP-47 implementation that lets Nostr clients like Damus or Amethyst connect to your Lightning node (LND or Alby) over Nostr relays.
OpenBBOpenBB's Open Data Platform is a self-hosted, open-source financial data layer: one Python SDK, CLI, REST API, MCP server and desktop app.
OpenChartsSelf-hosted trading terminal with charting, drawing tools, 8 indicators, and paper trading — runs in browser with no backend.


0 comments