
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
qbit-node-sdk
Advanced tools
开发者 API 旨在允许企业与 Qbit 系统集成,并轻松将其作为其工作流程的一部分。该 API 允许开发者使用【全球账户】、【量子卡】业务等。
当前版本1.1.0为正式版本。暂时支持了 auth 相关的接口,其他接口带后续完善,同时也提供了 Qbit Api 所需的 Post、put、delete、get 请求,方便使用者更好调用其他接口,具体使用请看下面代码示例。
注意:请商户的专业技术人员在使用时注意系统和软件的正确性和兼容性,以及带来的风险。
最新版本已经在 npmjs 发布。
yarn add qbit-node-sdk 或者 npm i qbit-node-sdk
const Qbit = require('qbit-node-sdk');
const qbit = new Qbit('qbit1f6efee44ceb8ca2', '8f70d42a1393802aebf567be27a47879', 'https://api-global.qbitnetwork.com');
import Qbit from 'qbit-node-sdk';
const qbit = new Qbit('qbit1f6efee44ceb8ca2', '8f70d42a1393802aebf567be27a47879', 'https://api-global.qbitnetwork.com');
const codeRes = await qbit.getCode('111');
const accessTokenRes = await qbit.getAccessToken(codeRes.code);
console.log(accessTokenRes);
const res = await qbit.refreshAccessToken(refreshToken);
console.log(res);
// 返回值 status 在 200 - 300 内表示请求正常
const res = await qbit.config(accessToken).postRequest('https://api-global.qbitnetwork.com/open-api/v1/budget', {
name: '测试',
cost: 10,
});
console.log(res);
const params = {
id: 'ee74c872-8173-4b67-81b1-5746e7d5ab88',
accountId: null,
holderId: 'd2bd6ab3-3c28-4ac7-a7c4-b7eed5eee367',
currency: 'USD',
settlementCurrency: null,
counterparty: 'SAILINGWOOD;;US;1800948598;;091000019',
transactionAmount: 11,
fee: 0,
businessType: 'Inbound',
status: 'Closed',
transactionTime: '2021-11-22T07:34:10.997Z',
transactionId: '124d3804-defa-4033-9f30-1d8b0468e506',
clientTransactionId: null,
createTime: '2021-11-22T07:34:10.997Z',
appendFee: 0,
};
const sign = qbit.encryptHmacSHA256(params, '25d55ad283aa400af464c76d713c07ad');
console.log(sign);
如果你发现了BUG或者有任何疑问、建议,请通过 issue 进行反馈。
也欢迎访问我们的官网。
FAQs
qbit bass api 接口支持
The npm package qbit-node-sdk receives a total of 6 weekly downloads. As such, qbit-node-sdk popularity was classified as not popular.
We found that qbit-node-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.