Ana Sayfa / Kod ve Scriptler / ChainPay - Self-Hosted Crypto Payment Gateway

ChainPay - Self-Hosted Crypto Payment Gateway

Kendi sunucunuzda barındırılan çok zincirli kripto ödeme ağ geçidi. BTC, ETH, USDT, BNB, SOL ve daha fazlasını kabul edin. Gömülebilir widget + yönetim paneli.

  • Yayın tarihi7 Mayıs 2026
  • Nerede çalışırPHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4
  • Paket içeriği.php, .css, .less, JavaScript .js
  • Son güncelleme7 Mayıs 2026
  • Canlı demoVar
ChainPay - Self-Hosted Crypto Payment Gateway

Overview

ChainPay Gateway is a self-hosted, multi-chain crypto payment gateway built for merchants who want to accept Bitcoin, Ethereum, USDT, BNB, Solana, Litecoin, Dogecoin and more without relying on a third-party processor.

One Laravel install, one MySQL database, one ZIP. Drop it on any host that runs PHP 8.3+, walk through the install wizard, and you're ready to take crypto payments via an embeddable widget, a hosted checkout page, or a REST API.

Why ChainPay?

  • Self-hosted. Your server, your wallets, your keys. No platform fees, no rate limits beyond your RPC, no middleman touching your customers' money.
  • 17+ chains supported. BTC, ETH, BNB, USDT (ERC-20 / BEP-20 / TRC-20), USDC, LINK, SHIB, BAT, BUSD, LTC, DOGE, BCH, XRP, SOL, ALGO, XMR, plus any ERC-20 / BEP-20 / TRC-20 token via the admin custom-token panel.
  • Auto-confirms on chain. Built-in cron polls the blockchain every minute via Alchemy, BscScan, mempool.space, TronGrid, XRPL, Solana RPC and Algorand Indexer — payments confirm without you lifting a finger.
  • Fiat fallback. Stripe + PayPal sit alongside crypto in the same picker. Customers choose at checkout.
  • One-line widget embed. A single <script> tag and a <div> with a checkout slug — popup or inline — and you're live on any website (WordPress, Shopify, custom HTML, anything).
  • Polished admin panel. Inertia + Vue 3 + Tailwind v4 dashboard with charts, activity feed, install-health monitoring, branded settings, security controls, role-based access, and a "Login as user" support flow.

Live demo

Try the full live install at chainpay.codic.online — pay a real demo transaction, browse the admin, read the docs at /docs/.

Features

  • 17+ blockchain integrations — BTC, ETH, BNB, USDT (ERC-20/BEP-20/TRC-20), USDC, LINK, SHIB, BAT, BUSD, LTC, DOGE, BCH, XRP, SOL, ALGO, XMR, BTC Lightning
  • Custom token admin — add any ERC-20, BEP-20 or TRC-20 token via the admin without code changes
  • Auto-confirm via cron — chain-monitor job polls every minute, marks transactions confirmed, fires customer + merchant emails
  • Embeddable widget — ~80 KB gzipped, popup or inline layout, pre-fill customer fields, fires DOM events for downstream integrations
  • Hosted checkout — every checkout gets a public URL /c/{slug} shareable by email, link, or QR code
  • Stripe + PayPal built-in alongside crypto with PaymentIntents, webhook signing, sandbox + live modes
  • Multi-source rate engine — Coinbase, Binance, Bitstamp + custom JSON URL with automatic fallback
  • BIP-21 / EIP-681 QR codes — wallet-scannable URIs pre-fill amount + address in the customer's wallet app
  • MetaMask / Web3 connect — one-click pay button on EVM chains
  • Pay page with progress rings — styled expiration timer + confirmation counter that update in real time
  • Outbound webhooks — HMAC-SHA256 signed, exponential backoff retries, 8 event types
  • Public REST API + Sanctum tokens for server-to-server integrations with scoped abilities
  • Polished admin dashboard — 30-day revenue trends, status mix donut, gateway split bar, top customers leaderboard, install-health strip
  • Role-based users — Owner / Admin / Agent with policy guards, force-password-reset, suspend/reinstate, "Login as user" impersonation with persistent banner
  • Custom branding — logo, favicon, colours, login-page hero copy, custom CSS / JS injection on hosted checkout + Pay page + admin
  • Settings tabs — General, Branding, Mail, Notifications, Security, Maintenance, Rates, Gateways
  • Security defaults — Force-HTTPS-on-admin, IP allowlist (CIDR), session timeout, 2FA enforcement, no-store cache headers, audit log
  • Customer + merchant emails — payment instructions on session create, confirmation receipt on confirm, all via SMTP / Resend / Postmark / SES
  • VAT calculator — flat-rate per-country + reverse-charge for EU B2B, advisory totals on Stripe / PayPal sessions
  • 86 locales included — JSON translation files ready to swap
  • Install wizard — auto-launches on first hit, walks through DB creds, owner account, branding
  • Demo mode flag — APP_DEMO_MODE=true blocks all admin writes with a friendly toast, perfect for sales demos
  • Pre-built & pre-installed — vendor and front-end already compiled in the ZIP, no Composer / Node needed on the buyer's server

Requirements

  • PHP 8.3 or 8.4 (8.4 recommended) with extensions: pdo_mysql, mbstring, bcmath, gmp, openssl, curl, intl, xml, zip, gd (or imagick)
  • MySQL 8.0+ or MariaDB 10.6+
  • Web server — Nginx + PHP-FPM (recommended) or Apache with mod_rewrite
  • Cron — every-minute schedule entry to run php artisan schedule:run (chain monitor, rate refresh, webhook retries)
  • HTTPS — required in production (cookies + webhooks)
  • 250 MB disk minimum (logs, QR cache, vendor)
  • 256 MB PHP memory minimum (512 MB recommended)
  • Free Alchemy API key for ETH + BSC + Solana (signup at alchemy.com — no credit card)
  • SMTP credentials for outgoing mail (Resend / Postmark / SES / Mailgun / your own SMTP)
  • Works on shared hosting (Hostinger, cPanel, Plesk, DirectAdmin) — no shell access required after first install if you use the wizard