dotwallet
Version:
A DotWallet helper library
15 lines (14 loc) • 503 B
JavaScript
const DW = require('../lib');
const testAppID = '5a192d599b0be66bdb2ef72784acb0f8';
const testAppSecret = 'b71557823ce2b25d07fb186368999181';
async function test()
{
const merchant = new DW.DWMerchant(testAppID, testAppSecret);
//显示托管账户地址
let start = Date.now();
let rsp = await merchant.mpiFeeQuote();
console.log(`feeQuote usetime=${Date.now()-start}, `, rsp);
// const depositAddr = await merchant.DepositAddress();
// console.log(depositAddr);
}
test();