tokengate/flarum-payment

Multi-Chain ERC20 Token Payment System for Flarum - Support for any EVM blockchain with automatic point crediting

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Type:flarum-extension

dev-main 2025-09-03 16:52 UTC

This package is auto-updated.

Last update: 2025-09-03 16:52:46 UTC


README

Latest Version Total Downloads License

Accept any ERC20 token on any EVM blockchain as payment for forum points/credits. Fully automated with blockchain verification and instant point crediting.

🌐 Supported Blockchains

Network Chain ID Explorer API
Ethereum 1 etherscan.io
BNB Smart Chain 56 bscscan.com
Polygon 137 polygonscan.com
Avalanche 43114 snowtrace.io
Arbitrum One 42161 arbiscan.io
Optimism 10 optimistic.etherscan.io
Fantom 250 ftmscan.com
Cronos 25 cronoscan.com
Gnosis Chain 100 gnosisscan.io
Moonbeam 1284 moonscan.io

Want more chains? Open an issue - we add new EVM chains regularly!

💫 Key Features

🔗 Multi-Chain Support

  • Any EVM blockchain - Ethereum, BSC, Polygon, Avalanche, and more
  • Any ERC20 token - USDC, USDT, DAI, LINK, custom tokens
  • Automatic API selection - Smart routing to correct explorer

Instant Automation

  • Auto-verification - Blockchain confirmations checked automatically
  • Auto-crediting - Points added to account immediately after verification
  • Real-time status - Users see confirmation progress live

🛡️ Enterprise Security

  • Blockchain verification - Every payment verified on-chain
  • Confirmation requirements - Configurable block confirmations (default: 3)
  • Duplicate prevention - No transaction can be used twice
  • Amount validation - Exact token amounts verified
  • Rate limiting - Prevents spam and abuse

🎨 User Experience

  • One-click payments - Simple modal interface
  • Chain detection - Shows current network and token
  • Progress tracking - Real-time verification status
  • Transaction links - Direct links to blockchain explorer
  • Mobile responsive - Works on all devices

🚀 Installation

Via Composer (Recommended)

composer require cryptopay/flarum-token-payment:"*"
php flarum migrate
php flarum cache:clear