@polkadot/client-wasm
TypeScript icon, indicating that this package has built-in type declarations

0.22.1 • Public • Published

@polkadot/client-wasm

A wrapper around WebAssembly applications, creating an instance from the input and providing a consistent class with the methods exposed on top of it. It is non-specific to the Polkadot usage, rather is a extended utility provider around the base WebAssembly interfaces, reducing boilerplate.

Updating the WASM proxies

Development notes for updating the WASM proxies runtimes.

First update the dependencies, e.g. binaryen and wabt (when not already available in the project root tmp) -

scripts/polkadot-wasm-build-binaryen.sh scripts/polkadot-wasm-build-wabt.sh

Compiling the WAT to WASM to JS, including converting the polkadot runtimes to a JS-compatible version -

scripts/polkadot-wasm-js-compat.sh

/@polkadot/client-wasm/

    Package Sidebar

    Install

    npm i @polkadot/client-wasm

    Weekly Downloads

    0

    Version

    0.22.1

    License

    Apache-2.0

    Unpacked Size

    36.6 kB

    Total Files

    32

    Last publish

    Collaborators

    • polkadotjs
    • jacogr