This repository contains the source code for the BTCPay Server plugin that enables the receipt of USDt payments on multiple blockchains. The plugin extends the functionality of BTCPay Server, a self-hosted cryptocurrency payment processor that allows merchants to accept Bitcoin and other cryptocurrencies.
- USDt Payments: Receive USDt payments directly on your BTCPay Server instance.
- Multi-Chain Support: Accept USDt on TRON, Ethereum, and Polygon.
- Customizable Settings: Configure JSON RPC endpoints and addresses per blockchain to suit your requirements.
- Invoice Generation: Generate invoices with blockchain addresses as payment reception.
- Blockchain Monitoring: Scan supported blockchains to detect payments in full, overpaid, or partial amounts.
- Automatic Settlement: Continuously verify blockchains to settle payments securely and efficiently.
- TRON
- Ethereum
- Polygon
- BTCPay Server: Make sure you have a running instance of BTCPay Server. You can find more information and installation instructions here.
- A compatible wallet for each chain you want to use (e.g., Ledger, MetaMask, TrustWallet...) to generate and manage addresses for receiving USDt payments.
Install the plugin from the BTCPay Server > Settings > Plugin > Available Plugins, and restart.
This plugin aims to cover USDt payment over different chains, a rigorous naming convention was implemented to ensure readability but also allow extensibility:
- Currency:
USDt - Currency Display Name:
USD₮andUSD₮ on BLOCKCHAIN_NAME
- Blockchain: TRON
- PaymentMethodId for USDt: USDT-TRON
- TRON specific implementation: Tron* and TronUSDtLike* for TRC20 compatible stuff
- Blockchain: Ethereum
- PaymentMethodId for USDt: USDT-Ethereum
- Ethereum specific implementation: Ethereum* and EthereumUSDtLike* for ERC20 compatible stuff
- Blockchain: Polygon
- PaymentMethodId for USDt: USDT-Polygon
- Polygon specific implementation: Polygon* and PolygonUSDtLike* for ERC20 compatible stuff
For any questions, issues, or feedback related to the BTCPay Server USDt Plugin, please open an issue in this repository.
This project is licensed under the MIT License.
