Move WASM singleton from @iroha2/client
to @iroha2/crypto-core
#164
Labels
enhancement
iroha2
package: client
Related to Client package(-s)
package: crypto
Related to Crypto packages
Description
Currently,
@iroha2/client
provides a mechanism to inject thecrypto
instance into the library, so that all crypto-related functions will work after that:The proposal is to move this singleton to the
@iroha2/crypto-core
package, because it seems to make more sense:After that, it will be probably possible to move all "interface wrap" into the single core package, and each
crypto-target-*
package will be a simple WASM exporterBenefits
Drawbacks
There might be some unexpected limitations, needs research.
The text was updated successfully, but these errors were encountered: