2022-03-27 10:01:06 +03:00
2022-03-03 15:25:52 +02:00
2022-03-10 09:36:44 +02:00
2020-10-23 11:14:40 +02:00
2022-03-27 10:01:06 +03:00
2022-03-17 07:36:16 +02:00
2019-03-17 13:12:14 +01:00
2022-01-01 18:33:38 +02:00
2021-12-13 08:13:04 +02:00
2022-01-13 10:05:36 +02:00
2019-03-17 13:12:14 +01:00
2021-06-08 17:04:07 +02:00
2022-01-01 18:33:38 +02:00
2022-03-10 09:36:44 +02:00
2022-01-01 18:33:38 +02:00
2022-03-27 10:01:06 +03:00
2019-03-15 13:00:05 +01:00
2022-03-27 06:29:19 +00:00
2022-01-09 09:07:40 +02:00
2019-03-17 13:12:14 +01:00
2022-03-27 10:01:06 +03:00
2019-08-12 09:09:48 +02:00
2022-01-01 18:33:38 +02:00
2022-01-11 08:43:55 +02:00
2022-03-27 10:01:06 +03:00

polkadotjs license npm beta maintainability

@polkadot/wasm

Various WASM wrappers around Rust crates

overview

It is split up into a number of internal packages, namely utilities -

  • wasm-crypto Various hashing functions, sr25519 & ed25519 crypto

These are split from the polkadot-js/util repo where it is heavily used as part of @polkadot/util-crypto. (There JS fallbacks are available for some interfaces, e.g. hashing, but for sr25519 WASM is the only interface). Since these don't undergo massive changes on a daily basis and has a build overhead (WASM compilation & optimisation), it is better managed as a seperate repo with a specific CI configuration.

development

Contributions are welcome!

To start off, this repo (along with others in the @polkadot family) uses yarn workspaces to organise the code. As such, after cloning, its dependencies should be installed via yarn, not via npm; the latter will result in broken dependencies.

Description
Fork of polkadot-js/wasm. Adds ML-DSA-65/87 and Poseidon2-over-Goldilocks to the @polkadot/wasm-crypto build, wrapping the chain's own qp-rusty-crystals-dilithium / qp-poseidon-core / qp-rusty-crystals-hdwallet crates so the browser and the runtime share one implementation.
Readme Apache-2.0 32 MiB
Languages
Rust 45.7%
JavaScript 25.1%
TypeScript 25%
Shell 4%
HTML 0.2%