tokengate/flarum-payment 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tokengate/flarum-payment

Composer 安装命令:

composer require tokengate/flarum-payment

包简介

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

README 文档

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

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-03