@polkadot/client-wasm-runtime
v0.8.3
Published
Basic execution wrapper interface for WASM programs
Downloads
56
Readme
@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.