{"id":19901942,"url":"https://github.com/hyperledger/firefly-sdk-nodejs","last_synced_at":"2025-05-02T23:32:05.947Z","repository":{"id":39581143,"uuid":"475601493","full_name":"hyperledger/firefly-sdk-nodejs","owner":"hyperledger","description":"FireFly SDK for Node.js","archived":false,"fork":false,"pushed_at":"2025-05-01T02:20:52.000Z","size":1049,"stargazers_count":15,"open_issues_count":5,"forks_count":8,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-05-01T09:05:25.946Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperledger.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-29T20:01:47.000Z","updated_at":"2025-04-12T06:08:12.000Z","dependencies_parsed_at":"2023-10-12T23:17:14.769Z","dependency_job_id":"a1acff5f-a7da-4a28-a64d-c72cab3f86ff","html_url":"https://github.com/hyperledger/firefly-sdk-nodejs","commit_stats":{"total_commits":140,"total_committers":11,"mean_commits":"12.727272727272727","dds":0.2571428571428571,"last_synced_commit":"f21e777c6b919fecc37a0019268284b48fbe1445"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffirefly-sdk-nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffirefly-sdk-nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffirefly-sdk-nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger%2Ffirefly-sdk-nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperledger","download_url":"https://codeload.github.com/hyperledger/firefly-sdk-nodejs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251850157,"owners_count":21653976,"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":[],"created_at":"2024-11-12T20:16:41.672Z","updated_at":"2025-05-02T23:32:04.952Z","avatar_url":"https://github.com/hyperledger.png","language":"TypeScript","readme":"# FireFly Node.js SDK\n\n![version](https://img.shields.io/github/package-json/v/hyperledger/firefly-sdk-nodejs?label=firefly-sdk-nodejs)\n[![FireFly Documentation](https://img.shields.io/static/v1?label=FireFly\u0026message=documentation\u0026color=informational)](https://hyperledger.github.io/firefly/latest)\n\n![Hyperledger FireFly](./images/hyperledger_firefly_logo.png)\n\nThis is the client SDK for Node.js, allowing you to build your own applications on top of Hyperledger FireFly.\n\n## Installation\n\n```bash\nnpm install @hyperledger/firefly-sdk\n```\n\n## Usage\n\n```typescript\nimport FireFly from '@hyperledger/firefly-sdk';\n\nasync function main() {\n  const firefly = new FireFly({ host: 'http://localhost:5000' });\n  await firefly.sendBroadcast({\n    data: [\n      {\n        value: 'test-message',\n      },\n    ],\n  });\n}\n\nif (require.main === module) {\n  main().catch((err) =\u003e console.error(`Error: ${err}`));\n}\n```\n\n(This example was taken from the [examples](examples) folder where you will find some other basic samples)\n\n## Generated schemas\n\nThe types for FireFly requests and responses are generated from the OpenAPI schema for FireFly. If you have\nthe `firefly` repository cloned in a folder parallel to this one, you can run the following to re-generate\nthe TypeScript interfaces from the latest FireFly definitions:\n\n```bash\nnpm run schema\n```\n\n## Git repositories\n\nThere are multiple Git repos making up the Hyperledger FireFly project. Some others\nthat may be helpful to reference:\n\n- Core - https://github.com/hyperledger/firefly\n- Command Line Interface (CLI) - https://github.com/hyperledger/firefly-cli\n- FireFly Sandbox - https://github.com/hyperledger/firefly-sandbox\n\n## Contributing\n\nInterested in contributing to the community?\n\nCheck out our [Contributor Guide](https://hyperledger.github.io/firefly/latest/contributors/index), and welcome!\n\nPlease adhere to this project's [Code of Conduct](CODE_OF_CONDUCT.md).\n\n## License\n\nHyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the [LICENSE](LICENSE) file.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger%2Ffirefly-sdk-nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperledger%2Ffirefly-sdk-nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger%2Ffirefly-sdk-nodejs/lists"}