{"id":24448645,"url":"https://github.com/hyperledger-iroha/iroha-javascript","last_synced_at":"2025-04-04T18:09:14.682Z","repository":{"id":11313769,"uuid":"68600924","full_name":"hyperledger-iroha/iroha-javascript","owner":"hyperledger-iroha","description":"JavaScript library for Iroha, a Distributed Ledger Technology (blockchain) platform.","archived":false,"fork":false,"pushed_at":"2025-03-28T09:40:43.000Z","size":5508,"stargazers_count":95,"open_issues_count":17,"forks_count":64,"subscribers_count":40,"default_branch":"main","last_synced_at":"2025-03-28T17:11:10.785Z","etag":null,"topics":["blockchain","distributed-ledger","dlt","hyperledger","iroha","javascript-library"],"latest_commit_sha":null,"homepage":"https://wiki.hyperledger.org/display/iroha","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-iroha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-19T11:51:46.000Z","updated_at":"2025-03-14T01:49:16.000Z","dependencies_parsed_at":"2023-02-19T05:45:52.306Z","dependency_job_id":"cb795a81-1422-4dc2-9216-880770de4914","html_url":"https://github.com/hyperledger-iroha/iroha-javascript","commit_stats":{"total_commits":70,"total_committers":18,"mean_commits":3.888888888888889,"dds":0.6142857142857143,"last_synced_commit":"381e2479460d2058507018238fae282049ef3ab3"},"previous_names":["soramitsu/iroha-javascript","hyperledger/iroha-javascript"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-iroha%2Firoha-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-iroha%2Firoha-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-iroha%2Firoha-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-iroha%2Firoha-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperledger-iroha","download_url":"https://codeload.github.com/hyperledger-iroha/iroha-javascript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226215,"owners_count":20904465,"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":["blockchain","distributed-ledger","dlt","hyperledger","iroha","javascript-library"],"created_at":"2025-01-21T00:32:30.603Z","updated_at":"2025-04-04T18:09:14.659Z","avatar_url":"https://github.com/hyperledger-iroha.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Iroha JavaScript\n\nThe JavaScript (TypeScript) SDK of [Iroha 2](https://github.com/hyperledger-iroha/iroha) for Node.js, Deno, Bun, and\nBrowsers.\n\nPackages and documentation are available on JSR: https://jsr.io/@iroha\n\n## Usage\n\n### Installation\n\n```shell\n# deno\ndeno add jsr:@iroha/core\n\n# npm (one of the below, depending on your package manager)\nnpx jsr add @iroha/core\nyarn dlx jsr add @iroha/core\npnpm dlx jsr add @iroha/core\nbunx jsr add @iroha/core\n```\n\n### Quick Example\n\n```ts\nimport { Client } from '@iroha/client'\nimport * as types from '@iroha/core/data-model'\n\nconst kp = types.KeyPair.random()\n\nconst client = new Client({\n  toriiBaseURL: new URL('http://localhost:8080'),\n  chain: '000-000',\n  authority: new types.AccountId(kp.publicKey(), new types.DomainId('wonderland')),\n  authorityPrivateKey: kp.privateKey(),\n})\n\nasync function test() {\n  await client.transaction(types.Executable.Instructions([\n    types.InstructionBox.Register.Domain({\n      id: new types.Name('wonderland'),\n      logo: null,\n      metadata: [],\n    }),\n  ]))\n    .submit({ verify: true })\n}\n```\n\n## Iroha Compatibility\n\nSee the\n[\"Compatibility\" section in `@iroha/core` package documentation](https://jsr.io/@iroha/core#iroha-compatibility).\n\n## Contributing\n\nSee [CONTRIBUTING.md](./CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger-iroha%2Firoha-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperledger-iroha%2Firoha-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger-iroha%2Firoha-javascript/lists"}