Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@koibanx/build-sdk
Advanced tools
The intent of Koibanx is to build a platform to give the benefits of blockchain as a simple service, with metrics, management and flexibility. The main goal is to provide all the extra value that blockchain provides by using modules that anyone can use, without all the knowledge the blockchain implementations demand.
Each user will be able to build it’s projects, which will contain the modules that need to be used. In order to access those modules, given an API KEY, the user will configure and use the modules through the koibanx SDK or through the REST APIs.
npm install @koibanx/build-sdk
Using ES6 import
import BuildSdk from '@koibanx/build-sdk';
const build = BuildSdk({
baseURL: 'http://your-url',
apiKey: '',
secret: ''
});
With require
exports.__esModule = true;
const BuildSdk = require('@koibanx/build-sdk')["default"];
const build = BuildSdk({
baseURL: 'http://your-url',
apiKey: '',
secret: ''
});
@koibanx/build-sdk/dist/index.d.ts
)Using ES6 import
import BuildSdk from "@koibanx/build-sdk";
(async () => {
const build = BuildSdk({
apiKey: '<APIKEY-PROJECT>',
secret: '<SECRET-PROJECT>'
})
const ledger = await build.ledger()
const catchError = (err, modulo) => {
console.log('Modulo: ', modulo);
console.log('details: ', err.details);
console.log('shortMessage: ', err.message);
console.log('errorCode: ', err.code);
}
ledger.getLedgerStatus().then((res) => {
console.log('getLedgerStatus: ', res.toDate);
}).catch((err) => catchError(err, 'getLedgerStatus'));
ledger.getEstimatedRemainingLedgerUsage().then((res) => {
console.log('getEstimatedRemainingLedgerUsage: ', res);
}).catch((err) => catchError(err, 'getEstimatedRemainingLedgerUsage'));
ledger.getFuelingLedgerAccount().then((res) => {
console.log('getFuelingLedgerAccount: ', res);
}).catch((err) => catchError(err, 'getFuelingLedgerAccount'));
ledger.wallets.createWallet({})
.then((res) => console.log('createWallet: ', res))
.catch((err) => catchError(err, 'createWallet'));
})();
FAQs
Build SDK
We found that @koibanx/build-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.