Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/polkadot-js/wasm
A collection of WASM wrappers (mostly around Rust libraries) that are used as faster versions of JS-native functions on Polkadot and Substrate networks.
https://github.com/polkadot-js/wasm
blockchain polkadot polkadot-js substrate wasm
Last synced: 6 days ago
JSON representation
A collection of WASM wrappers (mostly around Rust libraries) that are used as faster versions of JS-native functions on Polkadot and Substrate networks.
- Host: GitHub
- URL: https://github.com/polkadot-js/wasm
- Owner: polkadot-js
- License: apache-2.0
- Created: 2019-03-15T11:56:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-14T00:43:01.000Z (6 months ago)
- Last Synced: 2024-05-15T10:56:35.159Z (6 months ago)
- Topics: blockchain, polkadot, polkadot-js, substrate, wasm
- Language: TypeScript
- Homepage:
- Size: 28.3 MB
- Stars: 120
- Watchers: 7
- Forks: 44
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# @polkadot/wasm
Various WASM wrappers around Rust crates
## overview
It is split up into a number of internal packages, namely utilities -
- [wasm-crypto](packages/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](https://github.com/polkadot-js/) 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.