blockcluster
Official BlockCluster Node.js SDK for Dynamo and Platform APIs
Table of Contents
Install
npm:
npm install blockcluster
yarn:
yarn add blockcluster
Usage
Here is an example script showing how to create an asset type, issue assets and fetch assets:
const Blockcluster = ; const node = locationDomain: 'app-ap-south-1b.blockcluster.io' //enter your node's location domain instanceId: 'noeurgyb' //enter your instanceId; //create license solo asset typeawait node; //issue a licenseawait node; //get asset infoconst assetInfo = await node;
Here is an another example script showing how to create stream using an offline account:
const Wallet = ; const wallet = Wallet;const privateKey = wallet;const address = '0x' + wallet; await node;
Docs
Documentation of Dynamo's REST APIs and their usage is available at https://node.api.blockcluster.io
Contributors
Name | Website |
---|---|
BlockCluster | https://www.blockcluster.io |
Jibin Mathews | https://www.jibinmathews.in |
Narayan Prusty | https://www.github.com/narayanprusty |
Saikat Chakrabortty | https://www.github.com/saikatharryc |