iroha-javascript
iroha-javascript copied to clipboard
JavaScript library for Iroha, a Distributed Ledger Technology (blockchain) platform.
### Issue This code fails in Vite: ```ts import { init } from '@iroha2/crypto-target-web' await init() ``` ### Reproduction https://github.com/0x009922/iroha-js-sdk-issue-104-repro It includes error details. ### Workaround Using [`?url` suffix](https://vitejs.dev/guide/assets.html#explicit-url-imports): ```ts...
The issue is that some structs, like `Signatures`, are **sorted**. That is, no matter in what order entries are inserted in the map or set (in Rust), when the map...
Using some concrete HTTP and WebSocket client limits some usage possibilities. For HTTP client uses native Fetch API in browser and `node-fetch` in node. It is quite lightweight, but it...
How I get the tx hash of submitted transaction using transferAsset function?
I tried to produce a pending transaction. (Below is the case when we have quorum == 2, but only request the command with 1 private key.)  It has been...
Hello. It would help the review process if we established a common style for Iroha-JS, for example, using [Prettier](https://github.com/prettier/prettier). It was added long ago [for Iroha 2](https://github.com/hyperledger/iroha-javascript/blob/iroha2/.prettierrc.js) and I think...
Updated the proto files using these [proto](https://github.com/hyperledger/iroha/tree/main/shared_model/schema) files. To generate the ts proto files I used the following script: ``` PROTOC_GEN_TS_PATH="../../node_modules/.bin/protoc-gen-ts" OUT_DIR="./" protoc \ --plugin="protoc-gen-ts=${PROTOC_GEN_TS_PATH}" \ --js_out="import_style=commonjs,binary:${OUT_DIR}" \ --ts_out="${OUT_DIR}" \...
It was disabled due to bug in Iroha 2 encountered during development. Here is the test: https://github.com/hyperledger/iroha-javascript/blob/f90aaffaeae9f2332b2a567b54f3f7cb879ec7e8/packages/client/test/integration/test-node/multiple.spec.ts#L529
Hello. I'd like to add the common language guide to the Iroha documentation. Since Iroha-JS very convenient for the users, it is necessary for the examples. How stable are the...