{"id":26519702,"url":"https://github.com/blockclusterapp/blockcluster-node","last_synced_at":"2025-08-01T01:13:51.273Z","repository":{"id":81352042,"uuid":"148347110","full_name":"BlockClusterApp/blockcluster-node","owner":"BlockClusterApp","description":"Official BlockCluster Node.js SDK for Dynamo, Paymeter, Hyperion and Platform APIs","archived":false,"fork":false,"pushed_at":"2019-04-29T07:05:35.000Z","size":1790,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-20T11:13:53.952Z","etag":null,"topics":["assets-management","blockchain","blockchain-as-a-service","decentralized-storage","private-blockchain","proxy-re-encryption","wallets-management"],"latest_commit_sha":null,"homepage":"https://www.blockcluster.io","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BlockClusterApp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-09-11T16:29:57.000Z","updated_at":"2022-07-13T14:23:21.000Z","dependencies_parsed_at":"2023-10-20T18:29:11.721Z","dependency_job_id":null,"html_url":"https://github.com/BlockClusterApp/blockcluster-node","commit_stats":{"total_commits":84,"total_committers":6,"mean_commits":14.0,"dds":0.6071428571428572,"last_synced_commit":"6ceb9909a617952c3bbfbb05ccb71b8eb46ebd4f"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockClusterApp%2Fblockcluster-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockClusterApp%2Fblockcluster-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockClusterApp%2Fblockcluster-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlockClusterApp%2Fblockcluster-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlockClusterApp","download_url":"https://codeload.github.com/BlockClusterApp/blockcluster-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244787740,"owners_count":20510224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["assets-management","blockchain","blockchain-as-a-service","decentralized-storage","private-blockchain","proxy-re-encryption","wallets-management"],"created_at":"2025-03-21T11:23:26.122Z","updated_at":"2025-03-21T11:23:27.038Z","avatar_url":"https://github.com/BlockClusterApp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blockcluster\n\n[![build status](https://img.shields.io/travis/BlockClusterApp/blockcluster-node.svg)](https://travis-ci.org/BlockClusterApp/blockcluster-node)\n[![code coverage](https://img.shields.io/codecov/c/github/BlockClusterApp/blockcluster-node.svg)](https://codecov.io/gh/BlockClusterApp/blockcluster-node)\n[![code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/sindresorhus/xo)\n[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![made with lass](https://img.shields.io/badge/made_with-lass-95CC28.svg)](https://lass.js.org)\n[![license](https://img.shields.io/github/license/BlockClusterApp/blockcluster-node.svg)](LICENSE)\n\n\u003e Official BlockCluster Node.js SDK for Dynamo and Platform APIs\n\n\n## Table of Contents\n\n* [Install](#install)\n* [Usage](#usage)\n* [Docs](#docs)\n* [Contributors](#contributors)\n* [License](#license)\n\n\n## Install\n\n[npm][]:\n\n```sh\nnpm install blockcluster\n```\n\n[yarn][]:\n\n```sh\nyarn add blockcluster\n```\n\n\n## Usage\n\nHere is an example script showing how to create an asset type, issue assets and fetch assets:\n\n```js\nconst Blockcluster = require('blockcluster');\n\nconst node = new Blockcluster.Dynamo({\n    locationDomain: 'app-ap-south-1b.blockcluster.io', //enter your node's location domain\n    instanceId: 'noeurgyb' //enter your instanceId\n});\n\n//create license solo asset type\nawait node.callAPI('assets/createAssetType', {\n    assetType: 'solo',\n    assetName: 'license',\n    fromAccount: node.getWeb3().eth.accounts[0]\n});\n\n//issue a license\nawait node.callAPI('assets/issueSoloAsset', {\n    assetName: 'license',\n    fromAccount: node.getWeb3().eth.accounts[0],\n    toAccount: node.getWeb3().eth.accounts[0],\n    identifier: '1234'\n});\n\n//get asset info\nconst assetInfo = await node.callAPI('assets/getSoloAssetInfo', {\n    assetName: 'license',\n    identifier: '1234'\n});\n```\n\nHere is an another example script showing how to create stream using  an offline account:\n\n```js\nconst Wallet = require('ethereumjs-wallet');\n\nconst wallet = Wallet.generate();\nconst privateKey = wallet.getPrivateKey().toString('hex');\nconst address = '0x' + wallet.getAddress().toString('hex');\n\nawait node.callAPI(\n    'streams/create',\n    {\n        streamName: 'renew',\n        fromAccount: address\n    },\n    {\n        privateKey\n    }\n);\n```\n\n\n## Docs\n\nDocumentation of Dynamo's REST APIs and their usage is available at \u003chttps://node.api.blockcluster.io\u003e\n\n\n## Contributors\n\n| Name                    | Website                                |\n| ----------------------- | -------------------------------------- |\n| **BlockCluster**        | \u003chttps://www.blockcluster.io\u003e          |\n| **Jibin Mathews**       | \u003chttps://www.jibinmathews.in\u003e          |\n| **Narayan Prusty**      | \u003chttps://www.github.com/narayanprusty\u003e |\n| **Saikat Chakrabortty** | \u003chttps://www.github.com/saikatharryc\u003e  |\n\n\n## License\n\n[MIT](LICENSE) © [BlockCluster](https://www.blockcluster.io)\n\n\n## \n\n[npm]: https://www.npmjs.com/\n\n[yarn]: https://yarnpkg.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockclusterapp%2Fblockcluster-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblockclusterapp%2Fblockcluster-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblockclusterapp%2Fblockcluster-node/lists"}