简体中文 | English
An open source payment solution that supports receiving
TRX,USDT-TRC20andETH native coinsas well asETH ERC20 tokenswith dynamic or static payout addresses! Theoretically supportsall ETH-system blockchains, common ETH-system blockchains are:Ether (ETH),Binance Smart Chain (BSC),Polygon, etc.
TokenPayis a privately deployedblockchainpayment solution written inC# language.- The project does not depend on any external resources, no need to deploy a separate
database, uses lightweightsqlite, and does not requireredis. - Any project can be docked to easily implement
TRX,USDT-TRC20andETH-system native coinsas well asETH-system ERC20 tokens, theoretically supportingall ETH-system blockchaincollections! 😊 😊 😊 😊 TokenPayis licensed under the terms of the GPLv3 license.
C# languagecross-platform implementation, support x86 and arm chip architecture win/linux/mac devices😁- Support one collection address per order, or one collection address per user, solving the pain point of single address collection, which easily leads to wrong order completion.
- No additional environment configuration, just run a compiled binary file to use
TokenPay
├── Plugs ---> (Plug-in)
├── Wiki ---> (Wiki)
└── src ---> (Core)
- dujiaoka | dujiaoka
- v2board | v2board
- card-system | card-system
- epay | epay
TokenPayApi Docs👉🏻TokenPay Api Docs- Also refer to the existing plugins in the repository
- Run
TokenPayTutorial with aaPanel 👉🏻aaPanel Tutorial - Run
TokenPaytutorial manually👉🏻Manually Tutorial
TokenPayChannelhttps://t.me/TokenPayChannelTokenPayChathttps://t.me/TokenPayGroup
The implementation of TokenPay is similar to the principle of other projects, it is through the api provided by TronGrid, EtherScan, etc.
Poll the TRX, ETH, USDT, USDC entry events of the unexpired wallet address of the order, compare the entry amount with the order amount in the database, and if it is the same, the order is considered completed.
Simple principle.
0. The server synchronizes the latest exchange rate of the exchange at regular intervals
1. Customers make payments and transactions are uploaded to the chain
2. The server regularly polls through the API to get the latest recorded transaction data under the listening address, and compares it with the database orders
3. If the amount is the same, the order will be marked as completed
4. After the order is completed, the asynchronous notification task will call back the order completion event to the platform
If this project has helped you, I hope you can buy me a cup of coffee☕️
USDT-TRC20: TKGTx4pCKiKQbk8evXHTborfZn754TGViP
Thanks to the following open source projects.
TokenPay is an open source product and is intended for learning and communication purposes only!
It cannot be used for any purpose that violates the laws and regulations of the People's Republic of China (including Taiwan Province) or the user's region.
Because the author, i.e. myself, only developed the code and open source activities (open source means that anyone can download and use it or modify it for distribution), and never participated in any operation or profit-making activities of the user.
And we do not know what use the user will subsequently use the program source code for, so any legal responsibility brought about by the user's use is the user's own responsibility.
!!!Warning!!!
The blockchain tokens involved in the project are for learning purposes, and the author does not endorse the financial attributes of the tokens derived from the blockchain.
We do not encourage and support any illegal behavior such as "mining", "speculation", "virtual coin ICO", etc.
Virtual coin market behavior is not subject to regulatory requirements and control, investment transactions need to be cautious, only for learning blockchain knowledge
