Comments (4)
appsettings.json里定义币种就可以了
"Rate": { //汇率 设置0将使用自动汇率
"BNB": 0,
"TRX": 0,
"ETH": 0,
"USDT": 0,
"USDC": 0,
"MATIC": 0,
},
from tokenpay.
可能加错地方了,BUSD应该是是币安智能链吧,加到BSC那里面试试
{
"Enable": false,
"ChainName": "币安智能链",
"ChainNameEN": "BSC",
"BaseCoin": "BNB",
"Decimals": 18,
"ScanHost": "https://www.bscscan.com",
"ApiHost": "https://api.bscscan.com",
"ApiKey": "", // 此处申请 https://bscscan.com/myapikey
"ERC20Name": "BEP20",
"ERC20": [
{
"Name": "USDT",
"ContractAddress": "0x55d398326f99059ff775485246999027b3197955"
},
{
"Name": "USDC",
"ContractAddress": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d"
},
{
"Name": "BUSD", // 代币名称
"ContractAddress": "0x4Fabb145d64652a948d72533023f6E7A623C7C53" //合约地址
}
]
},
它汇率调用的OKX的接口,如果还是一样提示 ,可能代表OKX没这个币种,或者使用的OKX接口不是最新版
from tokenpay.
from tokenpay.
汇率查询使用的是OKX的汇率,如果OKX没有该币种,获取汇率将会失败,你可以在配置文件中手动指定汇率
from tokenpay.
Related Issues (20)
- 大佬求个acg-faka插件 HOT 2
- 机器人发送消息失败! HOT 1
- 生成的二维码添加钱包地址,防止被篡改 HOT 1
- 捐个开源的TokenPay WHMCS插件给大家 HOT 1
- 刚运行正常,过段时间就不行了 HOT 4
- 无法支付Polygon USDT HOT 22
- 端口监听IP修改 HOT 11
- 支付已经返回ok,但是通知还是错误的,状态码是200 HOT 15
- 支付页面过期日期以及倒计时应考虑时区
- 为啥WebProxy 设置后不生效 HOT 1
- 功能需求 HOT 1
- 如果想添加币安链的代币收款,请问如何处理配置呢 ? HOT 4
- 订单过期会有回调给notify么 HOT 1
- TON支持吗?怎么设置啊? HOT 1
- tokenpay 支持 https://arbiscan.io HOT 2
- Tokenpay对接易支付无法创建订单 HOT 1
- 能不能添加门罗? 谢谢
- [Feature] 添加 User-Agent 支持 HOT 1
- 能写个对接WordPress的插件吗? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tokenpay.