iroha icon indicating copy to clipboard operation
iroha copied to clipboard

Make it possible for iroha_crypto to target wasm for JS SDK

Open DCNick3 opened this issue 2 years ago • 2 comments

Currently JS SDK has to reimplement parts of iroha_crypto: https://github.com/hyperledger/iroha-javascript/tree/iroha2/packages/crypto/crypto-rs. It would be nice to remove the duplication and have the same codebase used for crypto operations between the node and js sdk.

After the PR for #3422 lands, it does make sense to try and make sure it compiles under wasm for js, so that JS SDK can use this code directly, without having to duplicate it.

DCNick3 avatar Nov 09 '23 11:11 DCNick3

In #4181 wasm support was implemented. @0x009922 can you check if it works for JS SDK now?

Arjentix avatar Feb 15 '24 14:02 Arjentix

I have created https://github.com/hyperledger/iroha-javascript/issues/186 to track it.

0x009922 avatar Feb 20 '24 02:02 0x009922