JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q26592F
  • License ISC

Basic execution wrapper interface for WASM programs

Package Exports

  • @polkadot/client-wasm-runtime
  • @polkadot/client-wasm-runtime/wasm/proxy_polkadot_wasm
  • @polkadot/client-wasm-runtime/wasm/proxy_runtime_wasm

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@polkadot/client-wasm-runtime) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

polkadotjs isc style npm travis maintainability coverage dependency devDependency

@polkadot/client-wasm-runtime

For WASM binaries to operate in the general environment, a limited libc-like environment needs to be made available. The sections here introduce just enough for this to be feasible, while aligning with the Parity Polkadot implementation.

Other runtimes

A comprehensive libc runtime has been implemented as part of the musl project. Ideas for the memory allocation has been expanded from this project, specifically by understanding arch/wasm32/wasm.js.