Jaco Greeff 0e50f267d1 Add GH actions (#37)
* Add GH actions

* Install nightly, test Rust seperately

* Nightly for tests

* Pin nightly version... maybe this works?

* Revert attempted version fix

* Re-try nightly pinning...

* Try without...

* Revert stable experiment

* Run action on PR

* Action only on PR

* Rename push.yml to pr.yml

* Bump deps, update actions

* Bump backtrace (maybe this helps?)

* Don't test rust alongside wasm (split)
2019-10-08 14:00:59 +02:00
2019-10-08 14:00:59 +02:00
2019-10-08 14:00:59 +02:00
2019-10-08 14:00:59 +02:00
2019-03-17 13:12:14 +01:00
2019-03-17 13:12:14 +01:00
2019-03-17 13:12:14 +01:00
2019-07-17 11:23:11 +02:00
2019-09-05 11:25:57 +02:00
2019-03-17 13:12:14 +01:00
2019-03-17 13:12:14 +01:00
2019-04-29 11:40:50 +02:00
2019-03-17 13:12:14 +01:00
2019-09-09 12:23:16 +02:00
2019-03-15 13:00:05 +01:00
2019-07-17 11:23:11 +02:00
2019-09-11 10:49:11 +00:00
2019-03-17 13:12:14 +01:00
2019-10-08 14:00:59 +02:00
2019-08-12 09:09:48 +02:00
2019-09-05 11:25:57 +02:00
2019-03-17 13:12:14 +01:00
2019-03-17 13:12:14 +01:00
2019-03-17 13:12:14 +01:00
2019-10-08 14:00:59 +02: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.

S
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%